Available on crate feature
sched
only.Expand description
Execution scheduling
See Also sched.h
Structs
- Options for use with
clone
- CpuSet represent a bit-mask of CPUs. CpuSets are used by sched_setaffinity and sched_getaffinity for example.
Functions
clone
create a child process (clone(2)
)sched_getaffinity
get a thread’s CPU affinity mask (sched_getaffinity(2)
)- Determines the CPU on which the calling thread is running.
sched_setaffinity
set a thread’s CPU affinity mask (sched_setaffinity(2)
)- Explicitly yield the processor to other threads.
- reassociate thread with a namespace
- disassociate parts of the process execution context
Type Aliases
- Type for the function executed by
clone
.