pthread_attr_setaffinity_np(3) on Linux
The text 6f106bddf6ca, as Debian 7 (Wheezy) shipped it.
set/get CPU affinity attribute in thread attributes object
The text 6f106bddf6ca, as Debian 7 (Wheezy) shipped it.
set/get CPU affinity attribute in thread attributes object