I'm trying to delay my thread for less the 1 millisecond in C++Windows.
I've read here that using "select()" my not be suitable because it may wait a lot longer than what I need (50-100 mcirosec is perfectly fine).
I also read that the multimedia timer may do the job, so I found this article
which is supposed to wait x microseconds, but when I try to use it twice consecutively, only the first call waits.
(I read here that Multimedia timers also have milliseconds resoulution, so I a little bit confused and will be happy if someone clarifies this.
Is there any other way to do this?