I have an action,
var act = new Action(() =>
{
while (true)
{
//Some Codes!
}
});
act.BeginInvoke(null, null);
How can I increase the priority of the thread that runs this action? I know how can I do it in simple thread.
Thread.CurrentThread.Priority = ThreadPriority.Lowest;
But how about an action's priority?