This commit adds POSIX nanosleep() and usleep() shim implementation for Windows to help implementors use less #ifdef _WIN32 in the code. (cherry picked from commit c37ff5d188)
c37ff5d188