[Mono-list] Threading priority and process priorities
Tom Fransen
t.fransen@mailned.nl
Mon, 28 Oct 2002 21:06:18 +0100
Hi all,
I wrote a small program that starts a number of threads each with a
different priority.
StartThread(0,ThreadPriority.Lowest);
StartThread(1,ThreadPriority.BelowNormal);
StartThread(2,ThreadPriority.Normal);
StartThread(3,ThreadPriority.AboveNormal);
StartThread(4,ThreadPriority.Highest);
When I us the 'ps' command to list all the threads I see that they all
have the same priority and nice value.
Am I missing something (I'm rather new at using Linux :-) or are
the thread priorities not implemented in Mono?
In general how are the thread and process priorities from
the class library mapped to the Linux process/thread priorities?
regards,
Tom