src/test/sysdep/misc/ioqueue.c
static void msleep(int milliseconds)
{
#if defined(IS_POSIX)
    nanosleep(&(struct timespec){milliseconds / 1000,
                                 (milliseconds % 1000) * 1000000}, NULL);
#elif defined(SIL_PLATFORM_WINDOWS)
    Sleep(milliseconds);
#endif
}
/**
 * msleep:  Sleep for the given number of milliseconds.
 */
Sleep for the given number of milliseconds.
Sleep for the given number of milliseconds .
static void msleep(int milliseconds)
{
#if defined(IS_POSIX)
    nanosleep(&(struct timespec){milliseconds / 1000,
                                 (milliseconds % 1000) * 1000000}, NULL);
#elif defined(SIL_PLATFORM_WINDOWS)
    Sleep(milliseconds);
#endif
}
static void msleep ( int milliseconds ) { #if defined ( IS_POSIX ) nanosleep ( & ( struct timespec ) { milliseconds / 1000 , ( milliseconds % 1000 ) * 1000000 } , NULL ) ; #elif defined ( SIL_PLATFORM_WINDOWS ) Sleep ( milliseconds ) ; #endif }
msleep:  Sleep for the given number of milliseconds.
msleep : Sleep for the given number of milliseconds .