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

Function OSDisableScheduler

libs/dolphin/os/OSThread.c:144–152  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

142}
143
144s32 OSDisableScheduler() {
145 BOOL enabled;
146 s32 count;
147
148 enabled = OSDisableInterrupts();
149 count = Reschedule++;
150 OSRestoreInterrupts(enabled);
151 return count;
152}
153
154s32 OSEnableScheduler() {
155 BOOL enabled;

Callers 5

__OSDispatchInterruptFunction · 0.85
OSWaitCondFunction · 0.85
OSResetSystemFunction · 0.85
__OSUnhandledExceptionFunction · 0.85

Calls 1

OSDisableInterruptsFunction · 0.85

Tested by

no test coverage detected