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_ALLOC
cpu_set_t* CPU_ALLOC(size_t count)

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