10 unstable releases (3 breaking)

Uses old Rust 2015

0.4.4 Feb 4, 2019
0.4.3 Feb 2, 2019
0.4.2 Jan 31, 2019
0.3.2 Jan 28, 2019
0.1.1 Dec 3, 2018

#882 in Concurrency

31 downloads per month
Used in message-dispatch

MIT and maybe AGPL-3.0

55KB
836 lines

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

Provides logic for finding out the valid set of logical cores (hyper threads) for a process, managing per-logical-core data sets, and more.

Licensing

The license for this project is MIT.


lib.rs:

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

Dependencies

~0–0.9MB
~14K SLoC