View Single Post
  #15   Spotlight this post!  
Unread 19-02-2012, 22:40
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,089
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: What is the point of timer.delay?

Quote:
Originally Posted by gixxy View Post
We are multithreaded.
Quote:
Originally Posted by gixxy View Post
I know that if you put in a Timer.delay() it will delay EVERYTHING. I put in a 4 second delay on a command to stop it from being called too often, but during that 4 seconds I couldn't do anything, the DriveTrain,our BallFeed belt. everything was frozen.
Are you saying that if you add a Timer.delay() to one thread (let's call it "Thread A") it will stop execution of all other threads?

Is Thread A higher priority than the other threads?

or

Is Thread A the same priority as the other threads, and you have time-slicing disabled?


Reply With Quote