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

Function UnsetRun

src/dolphin/src/os/OSThread.c:189–197  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

187}
188#pragma dont_inline on
189static void UnsetRun(OSThread* thread)
190{
191 OSThreadQueue* queue;
192 queue = thread->queue;
193 RemoveItem(queue, thread, link);
194 if (queue->head == 0)
195 RunQueueBits &= ~(1u << (OS_PRIORITY_MAX - thread->priority));
196 thread->queue = NULL;
197}
198#pragma dont_inline reset
199
200OSPriority __OSGetEffectivePriority(OSThread* thread)

Callers 3

SetEffectivePriorityFunction · 0.85
OSCancelThreadFunction · 0.85
OSSuspendThreadFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected