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