View Single Post
  #3   Spotlight this post!  
Unread 07-02-2010, 23:39
spartango spartango is offline
Registered User
FRC #0192 (GRT)
Team Role: Alumni
 
Join Date: Nov 2009
Rookie Year: 2008
Location: Palo Alto, CA
Posts: 43
spartango is an unknown quantity at this point
Re: Multithreading with Java? Anyone using it?

If you have a look at the GRTFramework(code.google.com/p/grtframework), you'll notice that we use multithreading extensively, with sensor and actuator abstractions/drivers being independent threads, and controllers for specific robot mechanisms acting completely independently from each other. We have not noticed any real performance costs thus far, and thus strongly recommend a threaded model to segregated robot parts.

I'm not saying that threading has no performance costs, but for the purposes of this competition they are not noticeable even with java threads.
Reply With Quote