Skip to main content

encode_policy

Function encode_policy 

Source
fn encode_policy(policy: SchedPolicy) -> (u32, i32)
Expand description

Encode a kernel SchedPolicy back into the (policy, priority) wire representation used by SYS_SCHED_GET.