Module nix::sched[][src]

Structs

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.

Type Definitions