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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Thread scheduling" Watch "Thread scheduling" New topic

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' ?
aymen esawey
Ranch Hand

Joined: Jan 29, 2002
Posts: 61
it's timesliced.
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.
I agree. Here's the link: http://aspose.com/file-tools
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?