[polypaudio-commits] r833 - /trunk/src/tests/thread-mainloop-test.c

svnmailer-noreply at 0pointer.de svnmailer-noreply at 0pointer.de
Tue May 9 01:38:38 PDT 2006


Author: ossman
Date: Tue May  9 10:38:37 2006
New Revision: 833

URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=833&root=polypaudio&view=rev
Log:
Use pa_msleep() to get platform independence.

Modified:
    trunk/src/tests/thread-mainloop-test.c

Modified: trunk/src/tests/thread-mainloop-test.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/src/tests/thread-mainloop-test.c?rev=833&root=polypaudio&r1=832&r2=833&view=diff
==============================================================================
--- trunk/src/tests/thread-mainloop-test.c (original)
+++ trunk/src/tests/thread-mainloop-test.c Tue May  9 10:38:37 2006
@@ -63,7 +63,7 @@
     pa_threaded_mainloop_unlock(m);
     
     fprintf(stderr, "waiting 5s (sleep)\n");
-    sleep(5);
+    pa_msleep(5000);
 
     fprintf(stderr, "shutting down\n");
 




More information about the pulseaudio-commits mailing list