Expand description
Thread affinity support for Linux.
Structs§
- A [
libc::cpu_set_t
] sized appropriately to the number of processors on this machine.
Functions§
- Returns the number of the processor the current thread was running on during the call to this function.
- Gets the current thread’s affinity.
- Returns the maximum CPU number of any present (but not necessarily online) processor.
- Returns the kernel compiled-in maximum number of processors.
- Returns the total number of online processors.
- Sets the current thread’s affinity.