MCPcopy Create free account
hub / github.com/f9micro/f9-kernel / thread_priority_inherit

Function thread_priority_inherit

kernel/thread.c:586–621  ·  view source on GitHub ↗

* Boost holder's priority when waiter blocks on it. * Temporarily raises holder's priority to waiter's if higher. * * Example: High-priority thread blocks on IPC from low-priority thread. * Boost the low-priority thread to prevent priority inversion. * * @param waiter Thread that is blocking (high priority) * @param holder Thread holding the resource (low priority) */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 5

irq_save_flagsFunction · 0.85
sched_is_queuedFunction · 0.85
sched_dequeueFunction · 0.85
sched_enqueueFunction · 0.85
irq_restore_flagsFunction · 0.85

Tested by

no test coverage detected