• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Scheduling of JVM Threads

 
Sabarish Sasidharan
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Valentin Crettaz
Gold Digger
Sheriff
Posts: 7610
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic