wut  1.0.0-beta9
Wii U Toolchain
Data Structures | Macros | Typedefs | Functions
Fast Mutex

Data Structures

struct  OSFastMutex
 

Macros

#define OS_FAST_MUTEX_TAG   0x664D7458u
 

Typedefs

typedef struct OSFastMutex OSFastMutex
 
typedef struct OSFastMutexLink OSFastMutexLink
 
typedef struct OSFastCondition OSFastCondition
 

Functions

void OSFastMutex_Init (OSFastMutex *mutex, const char *name)
 
void OSFastMutex_Lock (OSFastMutex *mutex)
 
void OSFastMutex_Unlock (OSFastMutex *mutex)
 
BOOL OSFastMutex_TryLock (OSFastMutex *mutex)
 

Detailed Description

Similar to OSMutex but tries to acquire the mutex without using the global scheduler lock, and does not test for thread cancel.


Data Structure Documentation

◆ OSFastMutexLink

struct OSFastMutexLink

Definition at line 22 of file fastmutex.h.

Data Fields
OSFastMutex * next
OSFastMutex * prev

◆ OSFastMutex

struct OSFastMutex

Definition at line 33 of file fastmutex.h.

Data Fields
uint32_t tag
const char * name
OSThreadSimpleQueue queue
OSFastMutexLink link

Macro Definition Documentation

◆ OS_FAST_MUTEX_TAG

#define OS_FAST_MUTEX_TAG   0x664D7458u

Definition at line 31 of file fastmutex.h.

Typedef Documentation

◆ OSFastMutex

typedef struct OSFastMutex OSFastMutex

Definition at line 18 of file fastmutex.h.

◆ OSFastMutexLink

Definition at line 19 of file fastmutex.h.

◆ OSFastCondition

Definition at line 20 of file fastmutex.h.

Function Documentation

◆ OSFastMutex_Init()

void OSFastMutex_Init ( OSFastMutex mutex,
const char *  name 
)

◆ OSFastMutex_Lock()

void OSFastMutex_Lock ( OSFastMutex mutex)

◆ OSFastMutex_Unlock()

void OSFastMutex_Unlock ( OSFastMutex mutex)

◆ OSFastMutex_TryLock()

BOOL OSFastMutex_TryLock ( OSFastMutex mutex)