mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-25 19:52:10 +01:00
Use g_usleep() for portability, bug #644465
This commit is contained in:
parent
a6615ba859
commit
9505ad05ee
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user