PyDocs

Nav

Generic Operating System Services

sched_setaffinity

os

function
  • sched_setaffinity(pid, mask, /)
Set the CPU affinity of the process identified by pid to mask.

mask should be an iterable of integers identifying CPUs.
0 Examples
No examples for os/sched_setaffinity.
See Also
No see-alsos for os/sched_setaffinity
0 Notes
No notes for sched_setaffinity