pthread_attr_setaffinity_np(3) on Linux
The text a227dfd0965b, as Debian 11 (Bullseye) shipped it.
set/get CPU affinity attribute in thread attributes object
The text a227dfd0965b, as Debian 11 (Bullseye) shipped it.
set/get CPU affinity attribute in thread attributes object