RetroArch
spinlock.h
Go to the documentation of this file.
1 #pragma once
2 #include <wiiu/types.h>
3 #include "time.h"
4 
5 #ifdef __cplusplus
6 extern "C" {
7 #endif
8 
9 typedef struct
10 {
15 } OSSpinLock;
16 
17 void OSInitSpinLock(OSSpinLock *spinlock);
26 
27 #ifdef __cplusplus
28 }
29 #endif
30 
BOOL OSTryAcquireSpinLockWithTimeout(OSSpinLock *spinlock, OSTime timeout)
GLbitfield GLuint64 timeout
Definition: glext.h:7831
BOOL OSAcquireSpinLock(OSSpinLock *spinlock)
BOOL OSUninterruptibleSpinLock_Release(OSSpinLock *spinlock)
Definition: spinlock.h:9
uint32_t __unknown0
Definition: spinlock.h:12
uint32_t owner
Definition: spinlock.h:11
BOOL OSUninterruptibleSpinLock_TryAcquireWithTimeout(OSSpinLock *spinlock, OSTime timeout)
BOOL OSReleaseSpinLock(OSSpinLock *spinlock)
BOOL OSUninterruptibleSpinLock_Acquire(OSSpinLock *spinlock)
int64_t OSTime
Definition: time.h:28
unsigned int BOOL
Definition: gctypes.h:51
uint32_t recursion
Definition: spinlock.h:13
BOOL OSTryAcquireSpinLock(OSSpinLock *spinlock)
uint32_t __unknown1
Definition: spinlock.h:14
BOOL OSUninterruptibleSpinLock_TryAcquire(OSSpinLock *spinlock)
unsigned int uint32_t
Definition: stdint.h:126
void OSInitSpinLock(OSSpinLock *spinlock)