I write my code in MonoDevelop and I want to try namespace of System.Threading. I wrote this simple code:
class MainClass {
public static void Main (string[] args) {
System.Threading.Thread thread=new System.Threading.Thread(new System.Threading.ThreadStart(ThreadProc));
Console.WriteLine(thread.Priority);//output current thread priority
thread.Priority=System.Threading.ThreadPriority.Highest;//change thread priority
Console.WriteLine(thread.Priority);//output current thread priority again
}
public static void ThreadProc() {
//make some operations
}
}
But I see this:

That is, the thread priority has not changed (OS: Ubuntu 12.10). How can I change the thread priority?
Changing thread priorities has not yet been implemented.
See the source code on github.