Computer Science, asked by vidhijain8752, 1 year ago

What is thread priority and explain?

Answers

Answered by AkshayaMahadevan
0
Thread Priorities. ... By default, athread inherits the priority of its parentthread. You can increase or decrease the priority of any thread with the setPriority method. You can set thepriority to any value between MIN_PRIORITY
Answered by allison2134
0

Thread Priorities. ... By default, a thread inherits the priority of its parent thread. You can increase or decrease the priority of any thread with the setPriority method. You can set the priority to any value between MIN_PRIORITY (defined as 1 in the Thread class) and MAX_PRIORITY (defined as 10).

Similar questions