OSInitMutex

Syntax

#include <cafe/os.h>

void OSInitMutex (OSMutex* mutex);

Parameters

mutex Pointer to the mutex to initialize.

Return Values

None.

Description

Initializes the mutex. Initializing a mutex already in use results in a program error.

Do Not Call From

Multiple threads This function is not thread-safe.

See Also

OSInitCond
OSLockMutex
OSSignalCond
OSTryLockMutex
OSUnlockMutex
OSWaitCond

Revision History

2013-05-08 Automated cleanup pass.
2012-08-01 Cleanup pass.
2010-08-30 Initial version.


CONFIDENTIAL