Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
9fe6813a
Commit
9fe6813a
authored
Jan 05, 2005
by
kent@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
my_sleep.c:
On Windows my_sleep() always gave a zero microsecond sleep
parent
22639def
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
mysys/my_sleep.c
mysys/my_sleep.c
+2
-0
No files found.
mysys/my_sleep.c
View file @
9fe6813a
...
@@ -23,6 +23,8 @@ void my_sleep(ulong m_seconds)
...
@@ -23,6 +23,8 @@ void my_sleep(ulong m_seconds)
{
{
#ifdef __NETWARE__
#ifdef __NETWARE__
delay
(
m_seconds
/
1000
+
1
);
delay
(
m_seconds
/
1000
+
1
);
#elif defined(__WIN__)
Sleep
(
m_seconds
/
1000
+
1
);
/* Sleep() has millisecond arg */
#elif defined(OS2)
#elif defined(OS2)
DosSleep
(
m_seconds
/
1000
+
1
);
DosSleep
(
m_seconds
/
1000
+
1
);
#elif defined(HAVE_SELECT)
#elif defined(HAVE_SELECT)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment