This method sets the priority of the thread being executed.
This method is operating system-dependent.
Public
void setPriority (int pr);
pr
Specifies the thread's priority