[go: up one dir, main page]

Module sched

Module sched 

Source
Available on crate feature sched only.
Expand description

Execution scheduling

See Also sched.h

Structs§

CloneFlagslinux_android
Options for use with clone
CpuSetlinux_android or freebsdlike
CpuSet represent a bit-mask of CPUs. CpuSets are used by sched_setaffinity and sched_getaffinity for example.

Functions§

clonelinux_android
clone create a child process (clone(2))
sched_getaffinitylinux_android or freebsdlike
sched_getaffinity get a thread’s CPU affinity mask (sched_getaffinity(2))
sched_getcpulinux_android or freebsdlike
Determines the CPU on which the calling thread is running.
sched_setaffinitylinux_android or freebsdlike
sched_setaffinity set a thread’s CPU affinity mask (sched_setaffinity(2))
sched_yield
Explicitly yield the processor to other threads.
setnslinux_android
reassociate thread with a namespace
unsharelinux_android
disassociate parts of the process execution context

Type Aliases§

CloneCblinux_android
Type for the function executed by clone.