]> git.sesse.net Git - vlc/blobdiff - src/libvlc.h
Use a per-object spin around the reference count.
[vlc] / src / libvlc.h
index 6df516b3d0a16f2b6a7f725b494b7bd99964ef49..0da4d2f574513faf97ba1e46759f4a3ed02b26b6 100644 (file)
@@ -187,6 +187,7 @@ struct vlc_object_internals_t
     vlc_spinlock_t  spin;
 
     /* Objects management */
+    vlc_spinlock_t   ref_spin;
     unsigned         i_refcount;
     vlc_destructor_t pf_destructor;
     bool             b_attached;