| 187 | } |
| 188 | #pragma dont_inline on |
| 189 | static 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 | |
| 200 | OSPriority __OSGetEffectivePriority(OSThread* thread) |
no outgoing calls
no test coverage detected