You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2020/04/07 17:11:46 UTC

[GitHub] [incubator-nuttx] xiaoxiang781216 edited a comment on issue #619: Uninterruptible semaphore waits breaks cancellation.

xiaoxiang781216 edited a comment on issue #619: Uninterruptible semaphore waits breaks cancellation.
URL: https://github.com/apache/incubator-nuttx/issues/619#issuecomment-610510939
 
 
   @patacongo semaphore has two usage in NuttX:
   1.Protect the shared data just like a light pthread_mutex_t
   2.Signal something happen just like a light phtread_cond_t
   Should we return -ECANCEL/-EINTR just only for item 2?

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services