From 352a0e6c0b6a434db689114f64b2dbfa642cd948 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Tue, 2 Aug 2005 06:55:38 +0000 Subject: [PATCH] tests/refcount/objects.c tests/refcount/properties.c Use g_usleep() 2005-08-02 Tor Lillqvist * tests/refcount/objects.c * tests/refcount/properties.c * tests/refcount/signals.c: Use g_usleep() instead of sleep() for portability. --- ChangeLog | 7 +++++++ ChangeLog.pre-2-10 | 7 +++++++ ChangeLog.pre-2-12 | 7 +++++++ ChangeLog.pre-2-8 | 7 +++++++ tests/refcount/objects.c | 2 +- tests/refcount/properties.c | 2 +- tests/refcount/signals.c | 2 +- 7 files changed, 31 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 438bb55..464ec09 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2005-08-02 Tor Lillqvist + + * 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 * tests/refcount/closures.c: test high contention on closure diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 438bb55..464ec09 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,10 @@ +2005-08-02 Tor Lillqvist + + * 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 * tests/refcount/closures.c: test high contention on closure diff --git a/ChangeLog.pre-2-12 b/ChangeLog.pre-2-12 index 438bb55..464ec09 100644 --- a/ChangeLog.pre-2-12 +++ b/ChangeLog.pre-2-12 @@ -1,3 +1,10 @@ +2005-08-02 Tor Lillqvist + + * 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 * tests/refcount/closures.c: test high contention on closure diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 438bb55..464ec09 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,10 @@ +2005-08-02 Tor Lillqvist + + * 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 * tests/refcount/closures.c: test high contention on closure diff --git a/tests/refcount/objects.c b/tests/refcount/objects.c index 50c4bad..1481fbf 100644 --- a/tests/refcount/objects.c +++ b/tests/refcount/objects.c @@ -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; diff --git a/tests/refcount/properties.c b/tests/refcount/properties.c index 90a30e7..18bab8c 100644 --- a/tests/refcount/properties.c +++ b/tests/refcount/properties.c @@ -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"); diff --git a/tests/refcount/signals.c b/tests/refcount/signals.c index 3fb43be..6cf1afb 100644 --- a/tests/refcount/signals.c +++ b/tests/refcount/signals.c @@ -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; -- 2.7.4