tests/refcount/objects.c tests/refcount/properties.c Use g_usleep()
authorTor Lillqvist <tml@novell.com>
Tue, 2 Aug 2005 06:55:38 +0000 (06:55 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Tue, 2 Aug 2005 06:55:38 +0000 (06:55 +0000)
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.

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-8
tests/refcount/objects.c
tests/refcount/properties.c
tests/refcount/signals.c

index 438bb5547b57517b2341505e49a8e981bbca409c..464ec09e353d149c79b5813c6850b9f63b64a8c8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index 438bb5547b57517b2341505e49a8e981bbca409c..464ec09e353d149c79b5813c6850b9f63b64a8c8 100644 (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
index 438bb5547b57517b2341505e49a8e981bbca409c..464ec09e353d149c79b5813c6850b9f63b64a8c8 100644 (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
index 438bb5547b57517b2341505e49a8e981bbca409c..464ec09e353d149c79b5813c6850b9f63b64a8c8 100644 (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
index 50c4bad95cab19ea8a70881c2a37654fb8a7132c..1481fbff640609b90eea07ad8aff0fdc65604888 100644 (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;
 
index 90a30e7982dfe96463943887a4334332dd415329..18bab8c3e3c465c20d71189494d506e60ae9c291 100644 (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");
index 3fb43be28b1308b9ae0087a15116e17807a7eab7..6cf1afb5eb9db138252befbd479ad6cb11777882 100644 (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;