[vlc-devel] vlc playlist development in general (was: [PATCH] QT4 playlist: even better DragNDrop policy)
Laurent Aimar
fenrir at via.ecp.fr
Wed Aug 12 13:01:17 CEST 2009
On Wed, Aug 12, 2009, Rémi Denis-Courmont wrote:
>
> On Wed, 12 Aug 2009 12:18:50 +0200, Jakob Leben <jakob.leben at gmail.com>
> wrote:
> > After all that, I believe you must be talking about src/input code.
>
> No. I'm talking about removing the integer id field of the playlist and
> input item structures.
>
> > May you please make a quick
> > description of the mechanism by which concurrent access to data is about
> > to be protected?
>
> This is about reference tracking, not concurrent access. Anyway, the
> playlist is read and written under the playlist lock. As far as I know,
> input items are not supposed to be modified once they are added to the
> playlist.
input_item_t are modified as long as they live. There is a lock
per item for that.
--
fenrir
More information about the vlc-devel
mailing list