[vlc-devel] [PATCH] Workaround #3958

Rafaël Carré rafael.carre at gmail.com
Sun Oct 24 18:01:46 CEST 2010


On Sun, 24 Oct 2010 17:42:10 +0200
Laurent Aimar <fenrir at elivagar.org> wrote:

> Hi,
> 
> > +static struct
> > +{
> > +    bool busy;
> > +    vlc_mutex_t lock;
> > +} entrant = { false, VLC_STATIC_MUTEX, };
> 
>  What is the reason to not simply use a lock to protect taglib use?
> (ie why entrant.busy?)

I copied the code from a codec but obviously doing this (locking while
taglib is in use) would work better.

-- 
✍ Rafaël Carré ☺
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20101024/512e7865/attachment.sig>


More information about the vlc-devel mailing list