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

Function __OSSwitchThread

src/dolphin/src/os/OSThread.c:152–157  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

150}
151
152inline void __OSSwitchThread(OSThread* nextThread)
153{
154 OSSetCurrentThread(nextThread);
155 OSSetCurrentContext(&nextThread->context);
156 OSLoadContext(&nextThread->context);
157}
158
159s32 OSDisableScheduler()
160{

Callers 1

SelectThreadFunction · 0.85

Calls 2

OSSetCurrentThreadFunction · 0.85
OSLoadContextFunction · 0.85

Tested by

no test coverage detected