SSBM Decomp
|
#include <placeholder.h>
#include <dolphin/os/OSError.h>
#include <dolphin/os/OSInterrupt.h>
#include <dolphin/os/OSMutex.h>
#include <dolphin/os/OSThread.h>
Functions | |
void | __OSThreadInit (void) |
void | OSInitThreadQueue (OSThreadQueue *queue) |
OSThread * | OSGetCurrentThread (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 |
void __OSThreadInit | ( | void | ) |
void OSInitThreadQueue | ( | OSThreadQueue * | queue | ) |
OSThread * OSGetCurrentThread | ( | void | ) |
s32 OSDisableScheduler | ( | void | ) |
s32 OSEnableScheduler | ( | void | ) |
void UnsetRun | ( | OSThread * | thread | ) |
void SetEffectivePriority | ( | void | ) |
|
static |
void __OSReschedule | ( | void | ) |
bool OSCreateThread | ( | OSThread * | thread, |
void *(*)(void *) | func, | ||
void * | param, | ||
void * | stack, | ||
u32 | stackSize, | ||
OSPriority | priority, | ||
u16 | attr | ||
) |
void OSExitThread | ( | OSThread * | arg0 | ) |
void OSCancelThread | ( | OSThread * | arg0 | ) |
void OSSleepThread | ( | OSThreadQueue * | arg0 | ) |
void OSWakeupThread | ( | OSThreadQueue * | arg0 | ) |
void CheckThreadQueue | ( | void | ) |
void OSCheckActiveThreads | ( | void | ) |
|
static |
|
static |
|
static |