MCPcopy Create free account
hub / github.com/bfbbdecomp/bfbb / OSDisableScheduler

Function OSDisableScheduler

src/dolphin/src/os/OSThread.c:159–168  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

157}
158
159s32 OSDisableScheduler()
160{
161 BOOL enabled;
162 s32 count;
163
164 enabled = OSDisableInterrupts();
165 count = Reschedule++;
166 OSRestoreInterrupts(enabled);
167 return count;
168}
169
170s32 OSEnableScheduler()
171{

Callers 4

__OSDispatchInterruptFunction · 0.85
OSResetSystemFunction · 0.85
__OSUnhandledExceptionFunction · 0.85

Calls 1

OSDisableInterruptsFunction · 0.85

Tested by

no test coverage detected