View Full Version : What are the thread priority levels?

Shivangi Panwar
05-09-2016, 10:18 PM
What are the thread priority levels?

07-20-2016, 10:19 PM
In Java it is Thread.MIN_PRIORITY to Thread.MAX_PRIORITY there are no defined ranges, because it depends on the underlying OS and/or JVM.

For performance beware, if you are sharing resources between Threads of different priorities you may run into Priority Inversion issues. That is when a low priority Thread holds a resource with a high priority thread waiting on it. Then the high priority thread may wait for a long time.

web designing company (www.rationaltechnologies.com) web designing company hyderabad (http://canopuswebtech.co.in/) web designing company (http://www.citswebindia.in/)

08-17-2016, 02:45 AM
The thread it is an problem occur in system based on the problem level it is an just hint and it will ignore in linux unless your root can only be lowered in windows you should not writing programs rely based on thread priorities you trying to do best another way.

06-02-2017, 03:26 AM
public static int MIN_PRIORITY
public static int NORM_PRIORITY
public static int MAX_PRIORITY

11-10-2017, 12:16 AM
when the virtual machine depends on the string usage of the host stage, the string booking is helpless before that string execution. The virtual machine maps the string needs to the need levels of the host stage (which may have progressively or less string levels).