OSInitCond

C Specification

#include <revolution/os.h>
void OSInitCond (OSCond* cond);

Arguments

cond Pointer to condition variable.

Return Values

None.

Description

Initializes the condition variable. Initializing a condition variable that has any sleeping threads results in a program error.

See the OSWaitCond function for an example program.

See Also

Thread Functions, Thread Synchronization Functions, OSInitMutex, OSLockMutex, OSSignalCond, OSTryLockMutex, OSUnlockMutex, OSWaitCond

Revision History

03/01/2006 Initial version.