I'm looking for a good non-blocking sleep timer in C for windows.
Currently I am using sleep(10);
which of course is a blocking timer.
Also I want it to consume no system resources, like my sleep timer it doesn't use any CPU or system resources which I am happy with.
So, what is the best non-blocking sleep timer I could use? And please also include an example of how to use it.
Thanks.