I wonder if it is right to call nxsem_wait while in critical section?
Yes, it is fine to do that.  The OS will exit the critical section while waiting.

Reply via email to