Lesson - 4 : Threads - Thread Priorities in Java Programming

preview_player
Показать описание
1. Every Thread in java has some priority it may be default priority generated by JVM (or) explicitly provided by the programmer.
2. The valid range of Thread priorities is 1 to 10[but not 0 to 10] where 1 is the least priority and 10 is highest priority.
3. Thread class defines the following constants to represent some standard priorities.

1) Thread. MIN_PRIORITY----------1
2) Thread. MAX_PRIORITY----------10
3) Thread. NORM_PRIORITY--------5
Рекомендации по теме
join shbcf.ru