Crate scheduler [−] [src]
Bindings to sched.h
and sys/resource.h
Just enough to set the scheduler priority.
Structs
CpuSet |
Struct representing a bitmask to be used with the affinity functions.
Meant to represent the |
Enums
Policy |
Policies that may be set |
Which |
Which identifier type to use ( |
Functions
get_affinity |
Get the cpu affinity for a thread. |
get_policy |
Get the scheduling policy for a process |
get_priority |
Get the scheduling priority for the selected identifier ( |
get_self_affinity |
Get the cpu affinity for the current thread. See |
get_self_policy |
Get the scheduling policy for this process |
get_self_priority |
Get the scheduling priority for the |
set_affinity |
Set the cpu affinity for a thread. |
set_policy |
Set the scheduling policy for a process |
set_priority |
Set the scheduling priority for the selected identifier ( |
set_self_affinity |
Set the cpu affinity for the current thread See |
set_self_policy |
Set the scheduling policy for this process |
set_self_priority |
Set the scheduling priority for the |