carta

sched_setaffinity(2) on Linux

The text 6cb7b8189364, as Debian 7 (Wheezy) shipped it.

set and get a process's CPU affinity mask

sched_setaffinity(2) on Linux now