[pulseaudio-commits] r1394 - /trunk/src/tests/flist-test.c

svnmailer-noreply at 0pointer.de svnmailer-noreply at 0pointer.de
Mon Sep 11 00:54:42 PDT 2006


Author: ossman
Date: Mon Sep 11 09:54:41 2006
New Revision: 1394

URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=1394&root=pulseaudio&view=rev
Log:
Use platform independent sleep.

Modified:
    trunk/src/tests/flist-test.c

Modified: trunk/src/tests/flist-test.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/src/tests/flist-test.c?rev=1394&root=pulseaudio&r1=1393&r2=1394&view=diff
==============================================================================
--- trunk/src/tests/flist-test.c (original)
+++ trunk/src/tests/flist-test.c Mon Sep 11 09:54:41 2006
@@ -27,6 +27,7 @@
 #include <stdlib.h>
 #include <unistd.h>
 
+#include <pulse/util.h>
 #include <pulse/xmalloc.h>
 #include <pulsecore/flist.h>
 #include <pulsecore/thread.h>
@@ -92,7 +93,7 @@
         assert(threads[i]);
     }
 
-    sleep(60);
+    pa_msleep(60000);
     quit = 1;
 
     for (i = 0; i < THREADS_MAX; i++)




More information about the pulseaudio-commits mailing list