setPriority

This method sets the priority of the thread being executed.

This method is operating system-dependent.

Visibility
Public
Signature
void setPriority (int pr);
Parameters
pr

Specifies the thread's priority


Feedback