MCPcopy Create free account
hub / github.com/DISTORTEC/distortos / setSchedulingPolicy

Function setSchedulingPolicy

source/threads/ThisThread.cpp:104–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102}
103
104void setSchedulingPolicy(const SchedulingPolicy schedulingPolicy)
105{
106 CHECK_FUNCTION_CONTEXT();
107
108 internal::getScheduler().getCurrentThreadControlBlock().setSchedulingPolicy(schedulingPolicy);
109}
110
111int sleepFor(const TickClock::duration duration)
112{

Callers

nothing calls this directly

Calls 1

setSchedulingPolicyMethod · 0.45

Tested by

no test coverage detected