mainloop-test



In the other thread tests we wait for a second before starting the test to
allow the threads to start but not in mainloop-test!  This caused FreeBSD to
fail the test (and me to spend a fair while searching for the reason) so can
we add a pause, as per the patch below...


Index: mainloop-test.c
===================================================================
RCS file: /cvs/gnome/glib/tests/mainloop-test.c,v
retrieving revision 1.4
diff -u -r1.4 mainloop-test.c
--- mainloop-test.c 2001/01/06 03:09:46 1.4
+++ mainloop-test.c 2001/03/19 13:31:30
@@ -392,6 +390,7 @@

   for (i = 0; i < NTHREADS; i++)
     create_adder_thread ();
+  g_usleep(G_USEC_PER_SEC);

   for (i = 0; i < NCRAWLERS; i++)
     create_crawler ();


david





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]