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