pthread_processor_bind_np(3T) - determine how many processors are installed in the system, bind threads to processors, and determine processor IDs; determine how many locality domains are installed in the system, bind threads to locality domains, and determine locality domain IDs; respectively
pthread_resume_np(3T) - continue execution of a thread, resume execution of a thread, and suspend execution of a thread; respectively