Is there a pthread-cancellable sleep function in win32 like sleep() and usleep() on Linux? The Sleep() in Windows API is apparently not cancellable. I am using pthreads-win32 (http://sourceware.org/pthreads-win32/) and it doesn't seem to define any "sleep" function. I want my program to be cross-platform (developing it under Linux), but don't mind a bit of conditional compilation.
Thank you very much