Thread priorities are not portable

The behaviour of the thread scheduler, thread priorities, and Thread.yield are highly dependent on the Java Runtime implementation you happen to be using. You cannot rely on them to define the logic of your application.

See Also :
Do not break portability
Would you use this technique?
Yes   No   Undecided   
© 2018 Hirondelle Systems | Source Code | Contact | License | RSS
Individual code snippets can be used under this BSD license - Last updated on September 21, 2013.
Over 2,000,000 unique IPs last year - Built with WEB4J.
- In Memoriam : Bill Dirani -