[pulseaudio-commits] r2425 - /branches/glitch-free/src/pulsecore/refcnt.h
svnmailer-noreply at 0pointer.de
svnmailer-noreply at 0pointer.de
Thu May 15 10:58:27 PDT 2008
Author: lennart
Date: Thu May 15 19:58:26 2008
New Revision: 2425
URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=2425&root=pulseaudio&view=rev
Log:
add PA_REFCNT_INIT_ZERO
Modified:
branches/glitch-free/src/pulsecore/refcnt.h
Modified: branches/glitch-free/src/pulsecore/refcnt.h
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/branches/glitch-free/src/pulsecore/refcnt.h?rev=2425&root=pulseaudio&r1=2424&r2=2425&view=diff
==============================================================================
--- branches/glitch-free/src/pulsecore/refcnt.h (original)
+++ branches/glitch-free/src/pulsecore/refcnt.h Thu May 15 19:58:26 2008
@@ -32,6 +32,9 @@
#define PA_REFCNT_INIT(p) \
pa_atomic_store(&(p)->_ref, 1)
+#define PA_REFCNT_INIT_ZERO(p) \
+ pa_atomic_store(&(p)->_ref, 0)
+
#define PA_REFCNT_INC(p) \
pa_atomic_inc(&(p)->_ref)
More information about the pulseaudio-commits
mailing list