pthread_attr_setaffinity_np(3) on Linux
The text 1d79fd85ca69, as Debian 10 (Buster) shipped it.
set/get CPU affinity attribute in thread attributes object
The text 1d79fd85ca69, as Debian 10 (Buster) shipped it.
set/get CPU affinity attribute in thread attributes object