Re: Vimeo plugin



On Fri, 2010-04-23 at 13:41 +0200, Víctor M. Jáquez L. wrote:
> > +  if (!g_thread_supported ()) {
> > +    g_thread_init (NULL);
> > +  }
> 
> I'm still not convinced if this initialization is really needed here.
> IMHO
> this is always carried out by the client application.

Client shouldn't take care about how grilo's plugins are coded. So I'm
not sure if this initialization should be done in client's side.

Moreover, let's figure out that none of our plugins require gthread
support, so clients wouldn't invoke g_thread_init.

What would happen if a third-party plugin that requires gthread is
installed in the system?. It is supposedly that client should be able to
use it without rebuilding the client.


IMHO, in Grilo, every plugin should initialize what they need to use.

	J.A.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]