SSBM Decomp
Loading...
Searching...
No Matches
OSThread.c File Reference

Functions

void __OSThreadInit (void)
 
void OSInitThreadQueue (OSThreadQueue *queue)
 
OSThreadOSGetCurrentThread (void)
 
s32 OSDisableScheduler (void)
 
s32 OSEnableScheduler (void)
 
void UnsetRun (OSThread *thread)
 
s32 __OSGetEffectivePriority (OSThread *thread)
 
void SetEffectivePriority (void)
 
static void SelectThread (bool yield)
 
void __OSReschedule (void)
 
bool OSCreateThread (OSThread *thread, void *(*func)(void *), void *param, void *stack, u32 stackSize, OSPriority priority, u16 attr)
 
void OSExitThread (OSThread *arg0)
 
void OSCancelThread (OSThread *arg0)
 
s32 OSResumeThread (OSThread *arg0)
 
s32 OSSuspendThread (OSThread *arg0)
 
void OSSleepThread (OSThreadQueue *arg0)
 
void OSWakeupThread (OSThreadQueue *arg0)
 
void CheckThreadQueue (void)
 
void OSCheckActiveThreads (void)
 

Variables

static vu32 RunQueueBits
 
static volatile bool RunQueueHint
 
static vs32 Reschedule
 

Function Documentation

◆ __OSThreadInit()

void __OSThreadInit ( void  )

◆ OSInitThreadQueue()

void OSInitThreadQueue ( OSThreadQueue queue)

◆ OSGetCurrentThread()

OSThread * OSGetCurrentThread ( void  )

◆ OSDisableScheduler()

s32 OSDisableScheduler ( void  )

◆ OSEnableScheduler()

s32 OSEnableScheduler ( void  )

◆ UnsetRun()

void UnsetRun ( OSThread thread)

◆ __OSGetEffectivePriority()

s32 __OSGetEffectivePriority ( OSThread thread)

◆ SetEffectivePriority()

void SetEffectivePriority ( void  )

◆ SelectThread()

static void SelectThread ( bool  yield)
static

◆ __OSReschedule()

void __OSReschedule ( void  )

◆ OSCreateThread()

bool OSCreateThread ( OSThread thread,
void *(*)(void *)  func,
void *  param,
void *  stack,
u32  stackSize,
OSPriority  priority,
u16  attr 
)

◆ OSExitThread()

void OSExitThread ( OSThread arg0)

◆ OSCancelThread()

void OSCancelThread ( OSThread arg0)

◆ OSResumeThread()

s32 OSResumeThread ( OSThread arg0)

◆ OSSuspendThread()

s32 OSSuspendThread ( OSThread arg0)

◆ OSSleepThread()

void OSSleepThread ( OSThreadQueue arg0)

◆ OSWakeupThread()

void OSWakeupThread ( OSThreadQueue arg0)

◆ CheckThreadQueue()

void CheckThreadQueue ( void  )

◆ OSCheckActiveThreads()

void OSCheckActiveThreads ( void  )

Variable Documentation

◆ RunQueueBits

vu32 RunQueueBits
static

◆ RunQueueHint

volatile bool RunQueueHint
static

◆ Reschedule

vs32 Reschedule
static