2

Possible Duplicate:
Sleep Less Than One Millisecond

Is there a way to "sleep" for less than a millisecond in C++, but without a busy loop?

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
Idov
  • 5,006
  • 17
  • 69
  • 106

1 Answers1

1

No. Under Windows, even without sleeping you can't ensure that two consecutive instructions will be carried out with less than a millisecond between them.

Lior Kogan
  • 19,919
  • 6
  • 53
  • 85