setaffinity_process changed to setaffinity_thread