core/win32/os.c
/* probably should have an option to stop all threads and then nt_sleep()
*/
probably should have an option to stop all threads and then nt_sleep()
probably should have an option to stop all threads and then nt_sleep ()
int
os_timeout(int time_in_milliseconds)
{
    int res;
    LARGE_INTEGER liDueTime;
    liDueTime.QuadPart= - time_in_milliseconds * TIMER_UNITS_PER_MILLISECOND;
    LOG(THREAD_GET, LOG_ALL, 2, "os_timeout(%d)\n", time_in_milliseconds);
    res = nt_sleep(&liDueTime);
    LOG(THREAD_GET, LOG_ALL, 2, "Timeout expired res=%d.\n", res);
    return res;
}
int os_timeout ( int time_in_milliseconds ) { int res ; LARGE_INTEGER liDueTime ; liDueTime . QuadPart = - time_in_milliseconds * TIMER_UNITS_PER_MILLISECOND ; LOG ( THREAD_GET , LOG_ALL , 2 , " \n " , time_in_milliseconds ) ; res = nt_sleep ( & liDueTime ) ; LOG ( THREAD_GET , LOG_ALL , 2 , " \n " , res ) ; return res ; }
probably should have an option to stop all threads and then nt_sleep()
probably should have an option to stop all threads and then nt_sleep ()