| 169 | } |
| 170 | #pragma dont_inline on |
| 171 | static 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 | |
| 181 | OSPriority __OSGetEffectivePriority(OSThread* thread) { |
no outgoing calls
no test coverage detected