Is there anyway at all in the windows environment to sleep for ~1 microsecond? After researching and reading many threads and various websites, I have not been able to see that this is possible. Since the scheduler appears to be the limiting factor and it operates
at the 1 millisecond level, then I believe it can’t be done without going to a real time OS.
Is there anyway at all in the windows environment to sleep for ~1 microsecond?
Share
It may not be the most portable, and I’ve not used these functions myself, but it might be possible to use the information in the High-Resolution Timer section of this link and block: QueryPerformanceCounter