zyfeier commented on PR #8645: URL: https://github.com/apache/nuttx/pull/8645#issuecomment-1452804573
> I'm still not sure about this change. I know that some time in the past I drafter something similar, but after re-thinking I'm looking into a next direction: there is already one mutex layer available in user space and it is `pthread_mutex`. I do not think we need to introduce another layer otherwise it will bring duplication. We need to think how to solve libc issue in a different way. Till now nxmutex was simply a wrapper on top of sem/nxsem, but now it seems to be something more. @pkarashchenko Yes, this is only the first step of the modification, the following changes will be dependent on this modification: 1. pthread mutex is changed to depend on nxmutex instead of nxsem. 2. nxmutex no longer depends on nxsem and is implemented independently; 3. Move priority inheritance from nxsem to nxmutex, and optimize the performance of priority inheritance; -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org