Meaningless Drivel is fun!*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Scheduling of JVM Threads Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Scheduling of JVM Threads" Watch "Scheduling of JVM Threads" New topic
Author

Scheduling of JVM Threads

Sabarish Sasidharan
Ranch Hand

Joined: Aug 29, 2002
Posts: 73
In a mock exam i took, they specified that
"Operating system decides which thread to run when and for how much time".
Is this true?


Sab<br /> <br />Perfection does not come from belief or faith. Talk does not count for anything. Parrots can do that. Perfection comes through selfless work.<br />Swami Vivekananda
Valentin Crettaz
Gold Digger
Sheriff

Joined: Aug 26, 2001
Posts: 7610
Yes it is true. The scheduling of threads in Java is platform-dependent.
Please see the following article: Programming Java Threads Part 1
Moving this to the Prog Cert forum...


SCJP 5, SCJD, SCBCD, SCWCD, SCDJWS, IBM XML
[Blog] [Blogroll] [My Reviews] My Linked In
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Scheduling of JVM Threads