Module rustix::process::sched

source ·

Structs§

  • CpuSet represents a bit-mask of CPUs.

Functions§

  • sched_getaffinity(pid)—Get a thread’s CPU affinity mask.
  • sched_getcpu()—Get the CPU that the current thread is currently on.
  • sched_setaffinity(pid, cpuset)—Set a thread’s CPU affinity mask.