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,030
  • 21
  • 100
  • 124
Idov
  • 4,870
  • 14
  • 63
  • 103

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
  • 18,699
  • 5
  • 52
  • 83