Introduction - If you have any usage issues, please Google them yourself
Java thread priority example- horse racing, Java virtual machine scheduling each thread running, not running the same opportunities for each thread scheduling mechanism based on priority scheduling of the threads of each thread. Thus the running time, running time high priority thread will get much lower priority threads get less.
This example demonstrates the different priorities in different threads progress at the completion of the same task, to verify the above conclusions. Opportunity to obtain a high priority thread runs more. Two different priority thread while the beginning, doing the same task in different schedules.