Skip to content

Create 2 classes PriorityRunner and PriorityThread. Start 3 threads with priorities (min, max, norm). With the help of the for loop, we will display values from 1 to 50 on the screen and indicate which thread is doing this operation.

Notifications You must be signed in to change notification settings

Minisiia/ThreadPriority

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ThreadPriority

Create 2 classes PriorityRunner and PriorityThread. Start 3 threads with priorities (min, max, norm). With the help of the for loop, we will display values from 1 to 50 on the screen and indicate which thread is doing this operation.

4 Java Advanced 8 Thread & Runnable

Завдання 3

Демонстрація пріоритетів. Створити 2 класи PriorityRunner та PriorityThread. Запустити 3 потоки із пріоритетами (min, max, norm). За допомогою циклу for виведемо на екран значення від 1 до 50 і вкажемо, який саме потік цю операцію робить.

About

Create 2 classes PriorityRunner and PriorityThread. Start 3 threads with priorities (min, max, norm). With the help of the for loop, we will display values from 1 to 50 on the screen and indicate which thread is doing this operation.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages