[][src]Module nix::sched

Structs

CloneFlags
CpuSet

CpuSet represent a bit-mask of CPUs. CpuSets are used by sched_setaffinity and sched_getaffinity for example.

Functions

clone
sched_getaffinity

sched_getaffinity get a thread's CPU affinity mask (sched_getaffinity(2))

sched_setaffinity

sched_setaffinity set a thread's CPU affinity mask (sched_setaffinity(2))

sched_yield

Explicitly yield the processor to other threads.

setns
unshare

Type Definitions

CloneCb