tests/refcount/objects.c tests/refcount/properties.c Use g_usleep()

2005-08-02  Tor Lillqvist  <tml@novell.com>

	* tests/refcount/objects.c
	* tests/refcount/properties.c
	* tests/refcount/signals.c: Use g_usleep() instead of sleep() for
	portability.
This commit is contained in:
Tor Lillqvist 2005-08-02 06:55:38 +00:00 committed by Tor Lillqvist
parent 10a3867a6e
commit 352a0e6c0b
7 changed files with 31 additions and 3 deletions

View File

@ -1,3 +1,10 @@
2005-08-02 Tor Lillqvist <tml@novell.com>
* tests/refcount/objects.c
* tests/refcount/properties.c
* tests/refcount/signals.c: Use g_usleep() instead of sleep() for
portability.
Mon Aug 1 23:33:47 2005 Tim Janik <timj@imendio.com>
* tests/refcount/closures.c: test high contention on closure

View File

@ -1,3 +1,10 @@
2005-08-02 Tor Lillqvist <tml@novell.com>
* tests/refcount/objects.c
* tests/refcount/properties.c
* tests/refcount/signals.c: Use g_usleep() instead of sleep() for
portability.
Mon Aug 1 23:33:47 2005 Tim Janik <timj@imendio.com>
* tests/refcount/closures.c: test high contention on closure

View File

@ -1,3 +1,10 @@
2005-08-02 Tor Lillqvist <tml@novell.com>
* tests/refcount/objects.c
* tests/refcount/properties.c
* tests/refcount/signals.c: Use g_usleep() instead of sleep() for
portability.
Mon Aug 1 23:33:47 2005 Tim Janik <timj@imendio.com>
* tests/refcount/closures.c: test high contention on closure

View File

@ -1,3 +1,10 @@
2005-08-02 Tor Lillqvist <tml@novell.com>
* tests/refcount/objects.c
* tests/refcount/properties.c
* tests/refcount/signals.c: Use g_usleep() instead of sleep() for
portability.
Mon Aug 1 23:33:47 2005 Tim Janik <timj@imendio.com>
* tests/refcount/closures.c: test high contention on closure

View File

@ -138,7 +138,7 @@ main (int argc, char **argv)
thread = g_thread_create ((GThreadFunc) run_thread, test2, TRUE, NULL);
g_array_append_val (test_threads, thread);
}
sleep (5);
g_usleep (5000000);
stopping = TRUE;

View File

@ -228,7 +228,7 @@ main (int argc, char **argv)
thread = g_thread_create ((GThreadFunc) run_thread, test, TRUE, NULL);
g_array_append_val (test_threads, thread);
}
sleep (3);
g_usleep (3000000);
stopping = TRUE;
g_print ("\nstopping\n");

View File

@ -264,7 +264,7 @@ main (int argc, char **argv)
thread = g_thread_create ((GThreadFunc) run_thread, test2, TRUE, NULL);
g_array_append_val (test_threads, thread);
}
sleep (5);
g_usleep (5000000);
stopping = TRUE;