Thread
:
Set command to run for a certain amount of time
View Single Post
#
5
09-02-2012, 16:53
Patrick Chiang
Programming
FRC #3070 (Team Pronto)
Team Role: Mentor
Join Date: Feb 2009
Rookie Year: 2009
Location: Seattle
Posts: 162
Re: Set command to run for a certain amount of time
Quote:
Originally Posted by
Ether
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...
Patrick Chiang
View Public Profile
Find all posts by Patrick Chiang
Find CD-Media Photos by Patrick Chiang
Find CD-Media Papers by Patrick Chiang