nuttx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [incubator-nuttx] xiaoxiang781216 edited a comment on issue #619: Uninterruptible semaphore waits breaks cancellation.
Date Tue, 07 Apr 2020 17:11:46 GMT
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

Mime
View raw message