projects
/
xmlrpc-c
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
initial load of upstream version 1.06.32
[xmlrpc-c]
/
lib
/
libutil
/
sleep.c
1
#include "xmlrpc-c/sleep_int.h"
2
3
#ifdef WIN32
4
#include <process.h>
5
#else
6
#include <unistd.h>
7
#endif
8
9
10
void
11
xmlrpc_millisecond_sleep(unsigned int const milliseconds) {
12
13
#ifdef WIN32
14
Sleep(milliseconds);
15
#else
16
usleep(milliseconds * 1000);
17
#endif
18
}