|
FreeRTOS:
Platform
Platform portability layer
|
| Return to main page ↑ |
Wait on (lock) a semaphore. This function should only return when the semaphore wait succeeds; it is not expected to fail.
This function blocks and waits until a counting semaphore is positive. It waits forever (deadlocks) if pSemaphore has a count 0 that is never incremented.
| [in] | pSemaphore | The semaphore to lock. |