acassis edited a comment on issue #1354:
URL: 
https://github.com/apache/incubator-nuttx/issues/1354#issuecomment-653530715


   Hi Olev,
   Yes, you are right: 
https://pubs.opengroup.org/onlinepubs/9699919799/functions/sem_getvalue.html
   Please submit a patch to fix the text.
   
   The DEBUGASSERT to cd_nrxwaiters < 255 is there to guarantee we will have 
less than 255 threads reading the data.
   
   When the can_poll() receives a signal it will return in the same as it 
returns when you get data, but then you need to check the errno var to verify 
if it returned with a value of EINTR. I think this is what the awkward means in 
this context.


----------------------------------------------------------------
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:
us...@infra.apache.org


Reply via email to