Posts

Showing posts with the label .setPriority()

Zeek_74_ThreadPriority.java

  /* --> Each thread have a priority. --> Priorities are represented by a number between 1 and 10. ---> In most cases, thread schedular schedules the threads according to their priority      (known as preemptive scheduling).