[vlc-devel] [PATCH] VOUT FIX snapshot lock, add new debug msgs

Rémi Denis-Courmont rem at videolan.org
Sat Mar 7 14:24:03 CET 2009


Le samedi 7 mars 2009 12:57:11 basos g, vous avez écrit :
> > And what protects b_snapshot? I don't understand how that fixes the
> > earlier problems.

> Could you be more specific ? What do you mean "who protects b_snapshot" .

To be pedantic, I would like to know what is the memory synchronization scheme 
ensuring well-defined use of the b_snapshot parameter.

I might be missing something, but it seems you're acquiring the change_lock on 
one side, but not on the other side. I don't understand your rationale. Why 
don't you acquire the change_lock everywhere?

-- 
Rémi Denis-Courmont
http://git.remlab.net/cgi-bin/gitweb.cgi?p=vlc-courmisch.git;a=summary



More information about the vlc-devel mailing list