User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Computer Science and Software Design section within the Software Development category of DaniWeb, a massive community of 423,546 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,983 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Computer Science and Software Design advertiser: Programming Forums
Views: 32288 | Replies: 8
Reply
Join Date: Oct 2003
Posts: 1
Reputation: noga is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
noga noga is offline Offline
Newbie Poster

round robin algorithm

  #1  
Oct 15th, 2003
Just wanted to get a definition for round robin algorithm.
Thank you.
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Oct 2003
Location: SUNYIT Campus Utica,NY
Posts: 16
Reputation: Wiecek5 is an unknown quantity at this point 
Rep Power: 5
Solved Threads: 0
Wiecek5 Wiecek5 is offline Offline
Newbie Poster

Re: round robin algorithm

  #2  
Oct 27th, 2003
Round-Robin Scheduling Algorithm, that is used to prevent starvation. Lets say you have 4 jobs.
Job A Job B Job C and Job D
Round Robin will give each job the same amount of CPU time until they are finished.
so it will go like A B C D A B C D A B C D. for like 3 cycles each. If one of the jobs finishes it will be removed from the queue. If a job is added it will be added to the circular queue. Hope this is what you are asking for.
"Beware of computer programmers that carry screwdrivers."
Leonard Brandwein.
Reply With Quote  
Join Date: Nov 2003
Posts: 1
Reputation: VN_Fire is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
VN_Fire VN_Fire is offline Offline
Newbie Poster

Re: round robin algorithm

  #3  
Nov 19th, 2003
If you have for job:
jA=30 milisecond,jB=10 milisecond,jC=50 milisecond,jA=30 milisecond
quantum=20milisecond
what's process?
my email "dgpleiku@yahoo.com"
thanks for your ans...
Reply With Quote  
Join Date: Dec 2003
Location: paletine
Posts: 1
Reputation: Mostafa Ibrahim is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
Mostafa Ibrahim Mostafa Ibrahim is offline Offline
Newbie Poster

graphic webdesign

  #4  
Dec 9th, 2003
please help me to emplement the round robin scheduling by c programming language
Reply With Quote  
Join Date: Dec 2004
Posts: 3
Reputation: ashraf_a3d is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
ashraf_a3d ashraf_a3d is offline Offline
Newbie Poster

Re: round robin algorithm

  #5  
Dec 2nd, 2004
can any one provide me with the round robin algorithm code in c/c++
hurry up!!!
Reply With Quote  
Join Date: Dec 2003
Location: Nashville, TN
Posts: 2,333
Reputation: alc6379 has a spectacular aura about alc6379 has a spectacular aura about alc6379 has a spectacular aura about 
Rep Power: 11
Solved Threads: 102
Colleague
alc6379's Avatar
alc6379 alc6379 is offline Offline
Cookie... That's it

Re: round robin algorithm

  #6  
Dec 2nd, 2004
It's called Google, folks. Learn it. Love it. Use it. Don't start 6+ threads in one day on the same topic.
Alex Cavnar, aka alc6379
Reply With Quote  
Join Date: Dec 2004
Posts: 207
Reputation: Real-tiner is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 7
Real-tiner Real-tiner is offline Offline
Posting Whiz in Training

Re: round robin algorithm

  #7  
Jan 19th, 2005
Now what I need is a program for Windows which does just the opposite: Keeps one program running until it terminates, with NO interruptions of any kind.
Last edited by Real-tiner : Jan 19th, 2005 at 11:48 am. Reason: spellching
Reply With Quote  
Join Date: Mar 2005
Posts: 1
Reputation: hichamrhenja is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
hichamrhenja hichamrhenja is offline Offline
Newbie Poster

Re: round robin algorithm

  #8  
Mar 21st, 2005
Your statement is correct, but I didn't agree with you on the example you presented (ABCD) when you mentioned that it Will run as ABCDABCD... The sequence ABCD gradually shrinks, if one process terminates..eg: B uses the least time units, the sequence could be ABCDACDACD...
Reply With Quote  
Join Date: May 2006
Posts: 1
Reputation: khronos is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
khronos khronos is offline Offline
Newbie Poster

Re: round robin algorithm

  #9  
May 11th, 2006
i'm searching for round robin too..if you have got that code in any programming language can u send me(java,c,pascal esp.)?i will be very appreciated thanks..
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb Computer Science and Software Design Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the Computer Science and Software Design Forum

All times are GMT -4. The time now is 5:56 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC