This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Thread scheduling Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Thread scheduling" Watch "Thread scheduling" New topic
Author

Thread scheduling

Fisher Daniel
Ranch Hand

Joined: Sep 14, 2001
Posts: 582
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

Joined: Jan 29, 2002
Posts: 61
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 ]

Aymen Esawey<br />SCJP <img src="smile.gif" border="0"> <br /><a href="http://www.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=32&t=001968" target="_blank" rel="nofollow">how to nuke the SUN </a>
Brian Lugo
Ranch Hand

Joined: Nov 10, 2000
Posts: 165
Hi Fisher!
Please note that this is talking about SUN's Java implementation and may not apply to other Java compilers.
Brian
 
Don't get me started about those stupid light bulbs.
 
subject: Thread scheduling
 
Similar Threads
Fiveton (just like Singleton) - maximum five instance of an object
Parallelism in an RMI Bound Service
regarding deadlock
Thread Question
Thread scheduling Algorithms?