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

Function OSSetCurrentThread

libs/dolphin/os/OSThread.c:87–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85static inline void OSInitMutexQueue(OSMutexQueue* queue) { queue->head = queue->tail = NULL; }
86
87static inline void OSSetCurrentThread(OSThread* thread) {
88 SwitchThreadCallback(__OSCurrentThread, thread);
89 __OSCurrentThread = thread;
90}
91
92void __OSThreadInit() {
93 OSThread* thread = &DefaultThread;

Callers 2

__OSThreadInitFunction · 0.85
__OSSwitchThreadFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected