Hi
How to change thread Priority in linux.
Last edited on
I don't believe a POSIX-compliant threads package allows for individual thread priorities (though it's been a while since I looked at NPTL).
In a non-compliant threads package such as LinuxThreads, you can simply call sched_setscheduler()
as you would if it were a real process.