CodeGym /Courses /Java Multithreading /Practice with thread priority

Practice with thread priority

Java Multithreading
Level 8 , Lesson 6
Available

"Hi, Amigo!"

9
Task
Java Multithreading, level 8, lesson 6
Locked
Magic class
Magic class
16
Task
Java Multithreading, level 8, lesson 6
Locked
Thread priorities
Thread priorities
Comments (5)
TO VIEW ALL COMMENTS OR TO MAKE A COMMENT,
GO TO FULL VERSION
KIN SOCHEAT Level 34, Phnom Penh, Cambogia
16 July 2020
nice thanks
12 May 2020
For the second task get rid of (last) constructor: // public MyThread(ThreadGroup group, Runnable target, String name, long stackSize, boolean inheritThreadLocals) { // super(group, target, name, stackSize, inheritThreadLocals); // setPriority(priorityIncrement()); // }
Wei Cui Level 39, Newark, United States
6 April 2020
first task

//change list 
List<String> list = new CopyOnWriteArrayList<>();
Denys Pits Level 41, Ukraine
2 March 2021
This hint is too much explicit :))
Szymon Level 41, Warsaw, Poland
5 May 2021
You ruined the fun man.