pthread priorites
I have a multi threaded application developed on BeOS, which I
am trying to port on to linux for which I am using posix-threads
(pthreads). In Beos priorities are from 1 - 120, whereas in linux it is
between 0-99 and nice number from -20-20. So my question is whether I
can use these two nice and the real priorities(which I am guessing is
not a right way to do it as they both are related some way) or can I
increase PRIORITY_MAX to 120.
|