• Post Reply Bookmark Topic Watch Topic
  • New Topic

Thread scheduling  RSS feed

 
Fisher Daniel
Ranch Hand
Posts: 582
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear all,
I have read a tutorial about thread form www.java.sun.com
It say "If two thread of the same priority are waiting for the CPU, the scheduler choose one of them to run in a round-robin fashion".
What is the meaning of 'round-robin fashion' ?
daniel
 
aymen esawey
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
it's timesliced.
http://choices.cs.uiuc.edu/~f-kon/RoundRobin/node1.html
also you can always search!!!duh
[ March 17, 2002: Message edited by: aymen esawey ]
 
Brian Lugo
Ranch Hand
Posts: 165
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Fisher!
Please note that this is talking about SUN's Java implementation and may not apply to other Java compilers.
Brian
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!