projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6615ba
)
Use g_usleep() for portability, bug #644465
author
Tor Lillqvist
<tml@iki.fi>
Fri, 11 Mar 2011 08:19:42 +0000
(10:19 +0200)
committer
Tor Lillqvist
<tml@iki.fi>
Fri, 11 Mar 2011 08:19:42 +0000
(10:19 +0200)
glib/tests/timeout.c
patch
|
blob
|
history
diff --git
a/glib/tests/timeout.c
b/glib/tests/timeout.c
index
9354cd7
..
824afc0
100644
(file)
--- a/
glib/tests/timeout.c
+++ b/
glib/tests/timeout.c
@@
-61,7
+61,7
@@
test_func (gpointer data)
/* Make the timeout take up to 0.1 seconds.
* We should still get scheduled for the next second.
*/
- usleep (count * 10000);
+
g_
usleep (count * 10000);
if (count < 10)
return TRUE;