OSFastCond_Init

Syntax

#include <cafe/os.h>

void OSFastCond_Init (OSFastCond* fastCond, char* name);

Parameters

fastCond Pointer to fast condition variable.
name Name of fast condition variable, for debugging.

Return Values

None.

Description

Initializes the fast condition variable. Be careful to avoid initializing a previously used condition variable, which could result in a program error. OSFastCond should be used in conjunction with OSFastMutex.

For an example program, see the OSFastCond_Wait function.

Do Not Call From

Multiple threads This function is not thread-safe.

See Also

OSFastCond_Signal
OSFastCond_Wait
OSFastMutex_Init
OSFastMutex_Lock
OSFastMutex_Unlock
OSFastMutex_TryLock

Revision History

2013/04/24 Initial Version.


CONFIDENTIAL