View Single Post
  #5   Spotlight this post!  
Unread 09-02-2012, 16:53
Patrick Chiang Patrick Chiang is offline
Programming
FRC #3070 (Team Pronto)
Team Role: Mentor
 
Join Date: Feb 2009
Rookie Year: 2009
Location: Seattle
Posts: 162
Patrick Chiang is a name known to allPatrick Chiang is a name known to allPatrick Chiang is a name known to allPatrick Chiang is a name known to allPatrick Chiang is a name known to allPatrick Chiang is a name known to all
Re: Set command to run for a certain amount of time

Quote:
Originally Posted by Ether View Post
this is called "busy waiting" or "spinning" and it chews up CPU time.

not the best way to do things.

http://en.wikipedia.org/wiki/Busy_waiting

http://citeseerx.ist.psu.edu/viewdoc...=rep1&type=pdf

Eh. I did say it was not big and fancy right?

Well, he could put that in its own thread implementation, but they are first year programmers after all...
Reply With Quote