View Single Post
  #1   Spotlight this post!  
Unread 27-04-2010, 11:38
slavik262's Avatar
slavik262 slavik262 is offline
We do what we must because we can.
AKA: Matt Kline
FRC #0537 (Charger Robotics)
Team Role: Alumni
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Sussex, WI
Posts: 310
slavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to behold
Send a message via AIM to slavik262
Re: Statistics on top 20 teams?

Quote:
Originally Posted by gvarndell View Post
This is a too simplistic view of the issue.
Yes, there is some weight associated context switching.
But if a single thread polls for some event for even 3 milliseconds, that wasted time is nowhere near recovered by avoiding context switches.
You didn't account for the rest of my post. As I said, depending on what you do with those threads affects performance. Obviously you'd want a separate thread if you're blocking for some input. Besides, that wasn't the overall point of my post.
__________________