Available on crate feature
sched only.Expand description
Execution scheduling
See Also sched.h
Structs§
- Clone
Flags linux_android - Options for use with
clone - CpuSet
linux_androidorfreebsdlike - CpuSet represent a bit-mask of CPUs. CpuSets are used by sched_setaffinity and sched_getaffinity for example.
Functions§
- clone⚠
linux_android clonecreate a child process (clone(2))- sched_
getaffinity linux_androidorfreebsdlike sched_getaffinityget a thread’s CPU affinity mask (sched_getaffinity(2))- sched_
getcpu linux_androidorfreebsdlike - Determines the CPU on which the calling thread is running.
- sched_
setaffinity linux_androidorfreebsdlike sched_setaffinityset a thread’s CPU affinity mask (sched_setaffinity(2))- sched_
yield - Explicitly yield the processor to other threads.
- setns
linux_android - reassociate thread with a namespace
- unshare
linux_android - disassociate parts of the process execution context