Hi,

I have a question about sem_wait. Current implementation in NuttX can
return failure and set errno to ECANCELED in case if the semaphore wait is
done while code is inside the cancelation point. However I do not see
ECANCELED in the POSIX description of sem_wait. Can anyone bring some more
light on why the NuttX version of sem_wait violates POSIX?

Best regards,
Petro

Reply via email to