patacongo commented on issue #9695:
URL: https://github.com/apache/nuttx/issues/9695#issuecomment-1620730197

   > I recall that I was thinking of creating a `_MUTEX_XXX` macro interface 
and redirect it either to `pthread_mutex_` or `nxmutex_` interface, but need to 
carefully inspect all the places again
   
   Consider my recommendation to just call nxsem_init() instead of 
__SEM_INIT().  That should cleanly eliminate the problem as far as I can tell.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to