If a pthread spawns other pthreads and the scope of the spawned threads is set to PTHREAD_SCOPE_PROCESS
, will the spawned threads contend for CPU only with each other or with all threads created within the process/program?
If with all, is there a way to let the spawned threads (or any group of pthreads) contend only with each other?