Zen API
|
kStatus kSemaphore_Wait | ( | kSemaphore | semaphore, |
k64u | timeout | ||
) |
Waits until the semaphore can be decremented or the timeout interval has elapsed.
kERROR_TIMEOUT is returned if the timeout elapses before the semaphore can be decremented.
semaphore | Semaphore object. |
timeout | Timeout in microseconds, or kINFINITE to wait indefinitely. |