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 438bb55..464ec09 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 438bb55..464ec09 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 438bb55..464ec09 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 438bb55..464ec09 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 50c4bad..1481fbf 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 90a30e7..18bab8c 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 3fb43be..6cf1afb 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;