zStatus zSemaphore_Wait(zSemaphore semaphore, z64u timeout);
|
Parameters |
Description |
|
z64u timeout |
Timeout in microseconds, or zINFINITE to wait indefinitely. |
|
sempahore |
Semaphore object. |
Waits until the semaphore can be decremented or the timeout interval has elapsed.
zERROR_TIMEOUT is returned if the timeout elapses before the semaphore can be decremented.
zSemaphore.h