PDA

Click to See Complete Forum and Search --> : Help me please


YumYum
Jul 17th, 2005, 08:31 AM
Hi guys:

Would anybody tell me how to set operating system algorithm to round robin by java code? In another way, what is the code to change for example non-preemptive algorithm to round robin algorithm ? :confused:

Hack
Jul 18th, 2005, 05:41 AM
Moved from Java CodeBank.

System_Error
Jul 18th, 2005, 08:37 AM
Hi guys:

Would anybody tell me how to set operating system algorithm to round robin by java code? In another way, what is the code to change for example non-preemptive algorithm to round robin algorithm ? :confused:

Would you at least try?

Dillinger4
Jul 18th, 2005, 02:28 PM
If i am not mistaken non-preemptive is the same a round robin. Usually it is preeemptive with time slicing when two threads of the same priority which are the highest.