18 #include "mysys_priv.h"
21 void my_sleep(ulong m_seconds)
24 Sleep(m_seconds/1000+1);
25 #elif defined(HAVE_SELECT)
27 t.tv_sec= m_seconds / 1000000L;
28 t.tv_usec= m_seconds % 1000000L;
31 uint sec= (uint) (m_seconds / 1000000L);
32 ulong start= (ulong) time((time_t*) 0);
33 while ((ulong) time((time_t*) 0) < start+sec);