OSInitCondEx

Syntax

#include <cafe/os.h>

void OSInitCondEx (OSCond* cond, char * name);

Parameters

cond Pointer to condition variable.
name Debug name or NULL.

Return Values

None.

Description

Initializes the condition variable. Use caution to avoid initializing a previously used condition variable, which could result in a program error.

For an example program, see the OSWaitCond function.

Do Not Call From

Multiple threads This function is not thread-safe.

See Also

OSInitMutex
OSLockMutex
OSSignalCond
OSTryLockMutex
OSUnlockMutex
OSWaitCond

Revision History

2013/05/08 Automated cleanup pass.
2012/10/19 Initial version.


CONFIDENTIAL