core.sys.linux.sched

D binding for Linux specific scheduler control and thread spawning methods.

Defines functions sched_setaffinity and sched_getaffinity and the data types they operate on, as well as clone and unshare and their related constants.

Members

Aliases

cpu_mask
alias cpu_mask = c_ulong

Type for array elements in 'cpu_set_t'.

Functions

CPU_SET
cpu_mask CPU_SET(size_t cpu, cpu_set_t* cpusetp)

Access macros for 'cpu_set' (missing a lot of them)

Structs

cpu_set_t
struct cpu_set_t

Data structure to describe CPU mask.

Meta

Authors

Nemanja Boric

Suggestion Box / Bug Report