I know that the pthreads API doesn't provide for adjusting the scheduler priorities of individual threads, but is there any mechanism for doing so under linux/unix?
For example, threads often show up in the process table (top/ps) as individual process-like entities, and it is possible to nice individual processes.
So, can nice be applied to individual threads of a process or would it affect all the threads? Or just be rejected for any thread other than the first?
In reply to Thread priorities under *nix. by BrowserUk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |