OSInitMutexEx

Syntax

#include <cafe/os.h>

void OSInitMutexEx (OSMutex* mutex, char * name);

Parameters

mutex Pointer to the mutex to initialize.
name Debug name or NULL.

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-10-19 Initial version.


CONFIDENTIAL