RetroArch
fastmutex.h
Go to the documentation of this file.
1 #pragma once
2 #include <wiiu/types.h>
3 
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
7 
8 typedef struct OSFastMutex OSFastMutex;
9 typedef struct
10 {
14 
15 #define OS_FAST_MUTEX_TAG 0x664D7458u
16 typedef struct OSFastMutex
17 {
19  const char *name;
25 
26 void OSFastMutex_Init(OSFastMutex *mutex, const char *name);
30 
31 #ifdef __cplusplus
32 }
33 #endif
struct OSFastMutex OSFastMutex
Definition: fastmutex.h:8
Definition: thread.h:129
GLuint const GLchar * name
Definition: glext.h:6671
const char * name
Definition: fastmutex.h:19
void OSFastMutex_Unlock(OSFastMutex *mutex)
Definition: fastmutex.h:16
void OSFastMutex_Init(OSFastMutex *mutex, const char *name)
OSFastMutexLink link
Definition: fastmutex.h:22
BOOL OSFastMutex_TryLock(OSFastMutex *mutex)
static sys_sem mutex
Definition: memp.c:120
void OSFastMutex_Lock(OSFastMutex *mutex)
uint32_t __unknown1[4]
Definition: fastmutex.h:23
OSFastMutex * next
Definition: fastmutex.h:11
uint32_t tag
Definition: fastmutex.h:18
uint32_t __unknown0
Definition: fastmutex.h:20
OSThreadSimpleQueue queue
Definition: fastmutex.h:21
unsigned int BOOL
Definition: gctypes.h:51
Definition: fastmutex.h:9
OSFastMutex * prev
Definition: fastmutex.h:12
unsigned int uint32_t
Definition: stdint.h:126