[vlc-devel] [vlc-commits] single instance: Avoid initializing twice because of dbus activation

Rémi Denis-Courmont remi at remlab.net
Sat May 12 22:34:05 CEST 2012


Le samedi 12 mai 2012 23:14:44 Mirsal Ennaime, vous avez écrit :
> I don't think avoiding a call to dbus_name_has_owner() is worth being
> incompatible with dbus activation, which is a nice feature.

I don't see much use for VLC activation if even VLC does not use it.

But this is hardly relevant. The old logic was flawed, and the new logic is 
just as flawed, even if slightly more efficient. To check if an instance 
already exists, VLC shall simply try to register the name (without override 
flags). So this debate is essentially moot.

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



More information about the vlc-devel mailing list