View Single Post
  #4   Spotlight this post!  
Unread 18-02-2012, 11:12
EricVanWyk EricVanWyk is offline
Registered User
no team
 
Join Date: Jan 2007
Rookie Year: 2000
Location: Boston
Posts: 1,597
EricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond repute
Send a message via AIM to EricVanWyk
Re: What is the point of timer.delay?

Quote:
Originally Posted by Lalaland1125 View Post
Just double checking, won't timer.delay also pretty much freeze the thread that the robot is running under, so if you are running a single threaded robot the robot will completely freeze for that amount of time?
Almost. It will pause the thread it is called from, allowing your other threads to take that time to do stuff. Think of it as a way of saying "I'm good for the next N milliseconds, its someone else's turn."
Reply With Quote