diff options
author | unknown <kent@mysql.com> | 2005-01-05 16:35:43 +0100 |
---|---|---|
committer | unknown <kent@mysql.com> | 2005-01-05 16:35:43 +0100 |
commit | 6f2f0d5cf3a7cb9a638bc753a3f3ec1b518bc4ed (patch) | |
tree | 3fb5cf219083125b3ee14d9add7c81c8a40565e6 | |
parent | c99b4964ca7da035bf2895812ef02bcfbdefa67a (diff) | |
download | mariadb-git-6f2f0d5cf3a7cb9a638bc753a3f3ec1b518bc4ed.tar.gz |
my_sleep.c:
On Windows my_sleep() always gave a zero microsecond sleep
mysys/my_sleep.c:
On Windows my_sleep() always gave a zero microsecond sleep
-rw-r--r-- | mysys/my_sleep.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mysys/my_sleep.c b/mysys/my_sleep.c index 3de2d2abd13..31eaf7eeb96 100644 --- a/mysys/my_sleep.c +++ b/mysys/my_sleep.c @@ -23,6 +23,8 @@ void my_sleep(ulong m_seconds) { #ifdef __NETWARE__ delay(m_seconds/1000+1); +#elif defined(__WIN__) + Sleep(m_seconds/1000+1); /* Sleep() has millisecond arg */ #elif defined(OS2) DosSleep(m_seconds/1000+1); #elif defined(HAVE_SELECT) |