Posted By:
Christopher_Schultz
Posted On:
Wednesday, April 4, 2001 08:21 AM
Regardless of the OS on which you're running, your Thread prority must be between
Thread.MIN_PRIORITY and
Thread.MAX_PRIORITY.
This thread priority has nothing to do with the thread priorities of the underlying OS.
UNIX, for example, typically has process priorities (via 'nice') in the range -20 to +19, and 'scheduling' priorities in the range 1 to 99 (via 'sched_get_priority_min()' and the symmetric ...max() functions).
Win32 is likely to have a completely different numbering scheme. Fortunately (or unfortunately, depending on your point of view), Java abstracts this all away and you only have to deal with Java Thread priorities.
-chris