Module nix::sched

source ·
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))
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 Definitions

Type for the function executed by clone.