Results 1 to 7 of 7

Thread: What are the thread priority levels?

  1. #1

  2. #2
    Registered
    Join Date
    Jul 2016
    Posts
    10
    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 web designing company hyderabad web designing company
    Last edited by rationalweb; 07-20-2016 at 11:09 PM.

  3. #3
    Registered pxljobs's Avatar
    Join Date
    Jul 2016
    Location
    Bangalore
    Posts
    290
    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.

  4. #4
    Registered
    Join Date
    Feb 2017
    Posts
    65
    public static int MIN_PRIORITY
    public static int NORM_PRIORITY
    public static int MAX_PRIORITY

  5. #5
    Registered
    Join Date
    Nov 2016
    Posts
    649
    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).

  6. #6
    Quote Originally Posted by ewastecompany2 View Post
    public static int MIN_PRIORITY
    public static int NORM_PRIORITY
    public static int MAX_PRIORITY
    You shared 3 static variables defined in Thread class for priority. Priority preserves either be specified by Java Virtual Machine when making the thread or it preserve be specified by programmer openly.

  7. #7
    Quote Originally Posted by ewastecompany2 View Post
    public static int MIN_PRIORITY
    public static int NORM_PRIORITY
    public static int MAX_PRIORITY
    You shared 3 static variables defined in Thread class for priority. Priority preserves either be specified by Java Virtual Machine when making the thread or it preserve be specified by programmer openly.

Similar Threads

  1. Why Google Gives first Priority to Wikipedia?
    By Nexevo Technologi in forum Search Engine Optimization
    Replies: 0
    Last Post: 12-08-2015, 08:26 AM
  2. Remember this thread?
    By The New Guy in forum Website Programming & Databases
    Replies: 3
    Last Post: 03-20-2006, 11:31 AM
  3. 3 Levels Deep KW Rich vs. Top Level #
    By Todd W in forum Search Engine Optimization
    Replies: 3
    Last Post: 01-17-2006, 08:43 AM
  4. My New Thread
    By incka in forum General Chat
    Replies: 2
    Last Post: 11-18-2003, 03:03 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •