21 #include <ndb_global.h>
24 void NdbSleep_MilliSleep(
int milliseconds)
28 #elif defined(HAVE_SELECT)
30 t.tv_sec = milliseconds / 1000L;
31 t.tv_usec = (milliseconds % 1000L) * 1000L;
34 #error No suitable function found to implement millisecond sleep.
39 void NdbSleep_SecSleep(
int seconds)
41 NdbSleep_MilliSleep(seconds*1000);