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

Function OSEnableScheduler

src/dolphin/src/os/OSThread.c:170–179  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

168}
169
170s32 OSEnableScheduler()
171{
172 BOOL enabled;
173 s32 count;
174
175 enabled = OSDisableInterrupts();
176 count = Reschedule--;
177 OSRestoreInterrupts(enabled);
178 return count;
179}
180
181inline void SetRun(OSThread* thread)
182{

Callers 4

__OSDispatchInterruptFunction · 0.85
OSResetSystemFunction · 0.85
__OSUnhandledExceptionFunction · 0.85

Calls 1

OSDisableInterruptsFunction · 0.85

Tested by

no test coverage detected