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

Function UnsetRun

libs/dolphin/os/OSThread.c:171–178  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

169}
170#pragma dont_inline on
171static void UnsetRun(OSThread* thread) {
172 OSThreadQueue* queue;
173 queue = thread->queue;
174 RemoveItem(queue, thread, link);
175 if (queue->head == 0)
176 RunQueueBits &= ~(1u << (OS_PRIORITY_MAX - thread->priority));
177 thread->queue = NULL;
178}
179#pragma dont_inline reset
180
181OSPriority __OSGetEffectivePriority(OSThread* thread) {

Callers 3

SetEffectivePriorityFunction · 0.85
OSCancelThreadFunction · 0.85
OSSuspendThreadFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected