[vlc-devel] [PATCH] GSoC: lua services discovery, final?

Rémi Denis-Courmont remi at remlab.net
Thu Jan 21 15:41:05 CET 2010


On Thu, 21 Jan 2010 15:27:17 +0100, Fabio Ritrovato
<exsephiroth87 at gmail.com> wrote:
> Actually,  playlist_ServicesDiscoveryAdd() doesn't check anything, it
> just creates the new nodes anyway.
> What check the list of loaded SD is
> playlist_IsServicesDiscoveryLoaded(), that's called before Add...

Sure. The name is set in Add() and checked in IsLoaded(). I still fail to
see any uniqueness problem.

(There is a race condition as IsLoaded then Add is not atomic, but this is
totally orthogonal)

-- 
Rémi Denis-Courmont
http://www.remlab.net
http://fi.linkedin.com/in/remidenis




More information about the vlc-devel mailing list