[gst-devel] When to call g_thread_init(), again... and again...

Rohit Atri rohitratri at gmail.com
Tue Jan 4 06:52:42 CET 2011


Hi,

Can somebody explain when exactly the api g_thread_init() should be called?

And does a "threaded" program exactly mean(in the context of the
documentation here -
http://library.gnome.org/devel/glib/2.26/glib-Threads.html#g-thread-init)?
If I've a gst pipeline which obviously runs in a different thread from my
application thread, should I be calling g_thread_init()?

I see that this discussion has already taken place here -
http://mail.gnome.org/archives/gtk-devel-list/2008-August/msg00110.html
but I didn't see a convincing answer/solution being discussed.

Thanks
Rohit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20110104/e396d706/attachment.htm>


More information about the gstreamer-devel mailing list