Classes | Macros | Functions
semaphore.h File Reference
#include <wiiu/types.h>
#include "thread.h"
Include dependency graph for semaphore.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


struct  OSSemaphore


#define OS_SEMAPHORE_TAG   0x73506852u


void OSInitSemaphore (OSSemaphore *semaphore, int32_t count)
void OSInitSemaphoreEx (OSSemaphore *semaphore, int32_t count, const char *name)
int32_t OSGetSemaphoreCount (OSSemaphore *semaphore)
int32_t OSSignalSemaphore (OSSemaphore *semaphore)
int32_t OSWaitSemaphore (OSSemaphore *semaphore)
int32_t OSTryWaitSemaphore (OSSemaphore *semaphore)

Macro Definition Documentation


#define OS_SEMAPHORE_TAG   0x73506852u

Function Documentation

◆ OSGetSemaphoreCount()

int32_t OSGetSemaphoreCount ( OSSemaphore semaphore)

◆ OSInitSemaphore()

void OSInitSemaphore ( OSSemaphore semaphore,
int32_t  count 

◆ OSInitSemaphoreEx()

void OSInitSemaphoreEx ( OSSemaphore semaphore,
int32_t  count,
const char *  name 

◆ OSSignalSemaphore()

int32_t OSSignalSemaphore ( OSSemaphore semaphore)

◆ OSTryWaitSemaphore()

int32_t OSTryWaitSemaphore ( OSSemaphore semaphore)

◆ OSWaitSemaphore()

int32_t OSWaitSemaphore ( OSSemaphore semaphore)