[polypaudio-commits] r1045 - /trunk/src/tests/interpol-test.c

svnmailer-noreply at 0pointer.de svnmailer-noreply at 0pointer.de
Tue Jun 20 07:26:54 PDT 2006


Author: ossman
Date: Tue Jun 20 16:26:52 2006
New Revision: 1045

URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=1045&root=pulseaudio&view=rev
Log:
Make sure we do not use pthread_yield() on platforms that do not have them.

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

Modified: trunk/src/tests/interpol-test.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/src/tests/interpol-test.c?rev=1045&root=pulseaudio&r1=1044&r2=1045&view=diff
==============================================================================
--- trunk/src/tests/interpol-test.c (original)
+++ trunk/src/tests/interpol-test.c Tue Jun 20 16:26:52 2006
@@ -148,7 +148,7 @@
 
         tv = now;
         while (pa_timeval_diff(pa_gettimeofday(&now), &tv) < 1000)
-#ifdef HAVE_PTHREAD
+#ifdef HAVE_PTHREAD_YIELD
             pthread_yield();
 #elif defined(OS_IS_WIN32)
             Sleep(0);




More information about the pulseaudio-commits mailing list