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

Function SetRun

src/dolphin/src/os/OSThread.c:181–187  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

179}
180
181inline void SetRun(OSThread* thread)
182{
183 thread->queue = &RunQueue[thread->priority];
184 AddTail(thread->queue, thread, link);
185 RunQueueBits |= 1u << (OS_PRIORITY_MAX - thread->priority);
186 RunQueueHint = TRUE;
187}
188#pragma dont_inline on
189static void UnsetRun(OSThread* thread)
190{

Callers 4

SetEffectivePriorityFunction · 0.85
SelectThreadFunction · 0.85
OSResumeThreadFunction · 0.85
OSWakeupThreadFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected