Use g_usleep() for portability, bug #644465

This commit is contained in:
Tor Lillqvist 2011-03-11 10:19:42 +02:00
parent a6615ba859
commit 9505ad05ee

View File

@ -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;