Yes, it is fine to do that. The OS will exit the critical section while waiting.I wonder if it is right to call nxsem_wait while in critical section?
- CAN driver and critical section use Oleg Evseev
- Re: CAN driver and critical section use Gregory Nutt