Go to Post I didn't feel like reading this whole thread, which, as I understand, is talking about people not wanting to read long threads. - Mike [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 18-03-2011, 00:13
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,077
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
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?
Reply With Quote
  #2   Spotlight this post!  
Unread 18-03-2011, 07:18
derekwhite's Avatar
derekwhite derekwhite is offline
Java Virtual Machine Hacker
no team (FIRST@Oracle)
Team Role: Programmer
 
Join Date: May 2009
Rookie Year: 2009
Location: Burlington, MA
Posts: 127
derekwhite is on a distinguished road
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.
Reply With Quote
  #3   Spotlight this post!  
Unread 18-03-2011, 09:21
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,077
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: scheduling policy in 2011 FRC Java Framework

Quote:
Originally Posted by derekwhite View Post
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 :-)


Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


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

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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