[pulseaudio-commits] r1348 - in /trunk/src/pulsecore: mutex-posix.c refcnt.h thread-posix.c
svnmailer-noreply at 0pointer.de
svnmailer-noreply at 0pointer.de
Wed Aug 30 10:01:12 PDT 2006
Author: ossman
Date: Wed Aug 30 19:01:10 2006
New Revision: 1348
URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=1348&root=pulseaudio&view=rev
Log:
Add AO_REQUIRE_CAS as we do.
Modified:
trunk/src/pulsecore/mutex-posix.c
trunk/src/pulsecore/refcnt.h
trunk/src/pulsecore/thread-posix.c
Modified: trunk/src/pulsecore/mutex-posix.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/src/pulsecore/mutex-posix.c?rev=1348&root=pulseaudio&r1=1347&r2=1348&view=diff
==============================================================================
--- trunk/src/pulsecore/mutex-posix.c (original)
+++ trunk/src/pulsecore/mutex-posix.c Wed Aug 30 19:01:10 2006
@@ -25,6 +25,8 @@
#include <assert.h>
#include <pthread.h>
+
+#define AO_REQUIRE_CAS
#include <atomic_ops.h>
#include <pulse/xmalloc.h>
Modified: trunk/src/pulsecore/refcnt.h
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/src/pulsecore/refcnt.h?rev=1348&root=pulseaudio&r1=1347&r2=1348&view=diff
==============================================================================
--- trunk/src/pulsecore/refcnt.h (original)
+++ trunk/src/pulsecore/refcnt.h Wed Aug 30 19:01:10 2006
@@ -22,6 +22,7 @@
USA.
***/
+#define AO_REQUIRE_CAS
#include <atomic_ops.h>
#define PA_REFCNT_DECLARE volatile AO_t _ref
Modified: trunk/src/pulsecore/thread-posix.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/src/pulsecore/thread-posix.c?rev=1348&root=pulseaudio&r1=1347&r2=1348&view=diff
==============================================================================
--- trunk/src/pulsecore/thread-posix.c (original)
+++ trunk/src/pulsecore/thread-posix.c Wed Aug 30 19:01:10 2006
@@ -25,6 +25,8 @@
#include <assert.h>
#include <pthread.h>
+
+#define AO_REQUIRE_CAS
#include <atomic_ops.h>
#include <pulse/xmalloc.h>
More information about the pulseaudio-commits
mailing list