Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Java (http://www.chiefdelphi.com/forums/forumdisplay.php?f=184)
-   -   scheduling policy in 2011 FRC Java Framework (http://www.chiefdelphi.com/forums/showthread.php?t=93727)

Ether 18-03-2011 00:13

scheduling policy in 2011 FRC Java Framework
 
Does anyone know, are threads at the same priority preemptively timesliced by default? If so, what is the time quantum?

derekwhite 18-03-2011 07:18

Re: scheduling policy in 2011 FRC Java Framework
 
In this implementation of Java, threads of the same priority will preempt each other (so it's not a "run until completion" policy), but it is based on the number of bytecodes executed, not strictly time based.

Ether 18-03-2011 09:21

Re: scheduling policy in 2011 FRC Java Framework
 
Quote:

Originally Posted by derekwhite (Post 1041538)
In this implementation of Java, threads of the same priority will preempt each other (so it's not a "run until completion" policy), but it is based on the number of bytecodes executed, not strictly time based.

Thanks for the reply. How do you know that? Is there a document somewhere I could read to learn more, rather than peppering you with more questions? Unless you don't mind :-)




All times are GMT -5. The time now is 22:18.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi