mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-03 14:42:10 +01:00
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:
parent
10a3867a6e
commit
352a0e6c0b
@ -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>
|
Mon Aug 1 23:33:47 2005 Tim Janik <timj@imendio.com>
|
||||||
|
|
||||||
* tests/refcount/closures.c: test high contention on closure
|
* tests/refcount/closures.c: test high contention on closure
|
||||||
|
@ -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>
|
Mon Aug 1 23:33:47 2005 Tim Janik <timj@imendio.com>
|
||||||
|
|
||||||
* tests/refcount/closures.c: test high contention on closure
|
* tests/refcount/closures.c: test high contention on closure
|
||||||
|
@ -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>
|
Mon Aug 1 23:33:47 2005 Tim Janik <timj@imendio.com>
|
||||||
|
|
||||||
* tests/refcount/closures.c: test high contention on closure
|
* tests/refcount/closures.c: test high contention on closure
|
||||||
|
@ -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>
|
Mon Aug 1 23:33:47 2005 Tim Janik <timj@imendio.com>
|
||||||
|
|
||||||
* tests/refcount/closures.c: test high contention on closure
|
* tests/refcount/closures.c: test high contention on closure
|
||||||
|
@ -138,7 +138,7 @@ main (int argc, char **argv)
|
|||||||
thread = g_thread_create ((GThreadFunc) run_thread, test2, TRUE, NULL);
|
thread = g_thread_create ((GThreadFunc) run_thread, test2, TRUE, NULL);
|
||||||
g_array_append_val (test_threads, thread);
|
g_array_append_val (test_threads, thread);
|
||||||
}
|
}
|
||||||
sleep (5);
|
g_usleep (5000000);
|
||||||
|
|
||||||
stopping = TRUE;
|
stopping = TRUE;
|
||||||
|
|
||||||
|
@ -228,7 +228,7 @@ main (int argc, char **argv)
|
|||||||
thread = g_thread_create ((GThreadFunc) run_thread, test, TRUE, NULL);
|
thread = g_thread_create ((GThreadFunc) run_thread, test, TRUE, NULL);
|
||||||
g_array_append_val (test_threads, thread);
|
g_array_append_val (test_threads, thread);
|
||||||
}
|
}
|
||||||
sleep (3);
|
g_usleep (3000000);
|
||||||
|
|
||||||
stopping = TRUE;
|
stopping = TRUE;
|
||||||
g_print ("\nstopping\n");
|
g_print ("\nstopping\n");
|
||||||
|
@ -264,7 +264,7 @@ main (int argc, char **argv)
|
|||||||
thread = g_thread_create ((GThreadFunc) run_thread, test2, TRUE, NULL);
|
thread = g_thread_create ((GThreadFunc) run_thread, test2, TRUE, NULL);
|
||||||
g_array_append_val (test_threads, thread);
|
g_array_append_val (test_threads, thread);
|
||||||
}
|
}
|
||||||
sleep (5);
|
g_usleep (5000000);
|
||||||
|
|
||||||
stopping = TRUE;
|
stopping = TRUE;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user