Thread Priority
1 = MIN_PRIORITY, 10 = MAX_PRIORITY
int P = myThread.getPriority();
myThread.setPriority(Thread.MAX_PRIORITY);
As long as a thread of priority P is in the ready state, no thread of priority less than P will be moved to the runnable state.
For threads of equal priority, CPU resources are shared, round-robin style.