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

Function L4_Set_PreemptionDelay

user/include/l4/schedule.h:79–85  ·  view source on GitHub ↗

* Set preemption threshold for Preemption-Threshold Scheduling (PTS) * * Parameters: * tid: Target thread * threshold: Preemption threshold (must be <= thread priority) * old_threshold: Output parameter for previous threshold (can be NULL) * * Preemption Rule: Thread j can preempt thread i iff priority(j) < threshold(i) * * Constraints: * - threshold must be <= thread priority (n

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 6

test_tcontrol_preemptionFunction · 0.85
test_pts_threshold_setFunction · 0.85

Calls 1

L4_ScheduleFunction · 0.85

Tested by 5

test_tcontrol_preemptionFunction · 0.68
test_pts_threshold_setFunction · 0.68