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

Function SetRun

libs/dolphin/os/OSThread.c:164–169  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

162}
163
164static void SetRun(OSThread* thread) {
165 thread->queue = &RunQueue[thread->priority];
166 AddTail(thread->queue, thread, link);
167 RunQueueBits |= 1u << (OS_PRIORITY_MAX - thread->priority);
168 RunQueueHint = TRUE;
169}
170#pragma dont_inline on
171static void UnsetRun(OSThread* thread) {
172 OSThreadQueue* queue;

Callers 4

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

Calls

no outgoing calls

Tested by

no test coverage detected