Defined in:Sets the priority of a thread.
void SetThreadPriority(int32 priority);
||The new thread priority.|
SetThreadPriorityfunction changes the priority of a thread to the value specified by the
priorityparameter. This value can be one of the following constants.
||The thread has low priority.|
||The thread has normal priority.|
||The thread has high priority. If this priority is used, then the thread should block often so that lower-priority threads can run.|
||The thread has critical priority. If this priority is used, then the thread should be in the blocked state most of the time.|