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