MCPcopy Create free account
hub / github.com/doldecomp/mkdd / OSYieldThread

Function OSYieldThread

libs/dolphin/os/OSThread.c:332–338  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

330}
331
332void OSYieldThread(void) {
333 BOOL enabled;
334
335 enabled = OSDisableInterrupts();
336 SelectThread(TRUE);
337 OSRestoreInterrupts(enabled);
338}
339
340BOOL OSCreateThread(OSThread *thread, OSThreadStartFunction func, void *param, void *stack, u32 stackSize, OSPriority priority, u16 attr)
341{

Callers 2

waitSubFrameFunction · 0.85
errorHandlerMethod · 0.85

Calls 2

OSDisableInterruptsFunction · 0.85
SelectThreadFunction · 0.85

Tested by

no test coverage detected