Advertisement
Guest User

Untitled

a guest
Aug 27th, 2014
204
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.27 KB | None | 0 0
  1. boost::this_thread::sleep(boost::posix_time::microseconds(delayMics));
  2.  
  3. if (delayMics < MAX_DELAY)
  4. {
  5.     delayMics <<= 1;
  6. }
  7. --------------------------------2
  8. boost::this_thread::sleep(boost::posix_time::microseconds(delayMics < MAX_DELAY ? delayMics <<= 1 : delayMics));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement