Thread Priority can be changed by using Threadname.Priority = ThreadPriority.Highest.
In the sample provided look out for code where the second thread is ran with a high priority.
Following are different levels of Priority provided by .NET :-
=> ThreadPriority.Highest
=> ThreadPriority.AboveNormal
=> ThreadPriority.Normal
=> ThreadPriority.BelowNormal
=> ThreadPriority.Lowest
In the sample provided look out for code where the second thread is ran with a high priority.
Following are different levels of Priority provided by .NET :-
=> ThreadPriority.Highest
=> ThreadPriority.AboveNormal
=> ThreadPriority.Normal
=> ThreadPriority.BelowNormal
=> ThreadPriority.Lowest
No comments:
Post a Comment