[−][src]Crate cpu_affinity
cpu-affinity
CPU affinity for processes and threads across many platforms and Operating Systems, including:-
- Android
- BitRig (does nothing)
- DragonFlyBSD
- Emscripten
- Fuschia
- FreeBSD
- iOS
- MacOS (does nothing, but special logic for setting thread affinity groups)
- Linux
- NetBSD
- OpenBSD (does nothing)
- Windows
- uclibc
Structs
LogicalCores | Logical cores to use for process and thread affinity, abstracting away platform, library and Operating System differences. |
PerLogicalCoreData | Data with an item per logical core in use by the process. |
Functions
current_logical_core | Per logical core index. |
Type Definitions
LogicalCoreIdentifier | Logical core identifier. |
ProcessIdentifier | Process Identifier. |
ThreadIdentifier | Thread Identifier. |