Zen API
zSemaphore_Wait
C
zStatus zSemaphore_Wait(zSemaphore semaphore, z64u timeout);
Parameters
Parameters 
Description 
z64u timeout 
Timeout in microseconds, or zINFINITE to wait indefinitely. 
sempahore 
Semaphore object. 
Description

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.

File

zSemaphore.h

Copyright (c) 2008-2010 by LMI Technologies Inc. All rights reserved.