[gstreamer-bugs] [Bug 608398] Initializing the glib thread system seems not to work

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Jan 29 02:24:20 PST 2010


https://bugzilla.gnome.org/show_bug.cgi?id=608398
  GStreamer | gstreamer (core) | git

--- Comment #5 from Tim-Philipp Müller <t.i.m at zen.co.uk> 2010-01-29 10:24:14 UTC ---
> Yes, I agree with Tim here.

Which part? That we shouldn't put -DG_THREADS_MANDATORY in the pkg-config
cflags for now, or that GLib should ideally do things slightly differently? :)


> And we should probably just call g_thread_init() unconditionally in GLib >= 2.23.2
> and remove that warning then because it's pointless now.

So there's no need to call g_thread_init() very early in the program any more?
Before other GLib functions are called, etc.? As I see it, the assumption is
sort of that g_type_init() is called first thing in main() now, more or less,
and -DG_THREADS_MANDATORY only seems to be used in GObject, but not in GLib
itself.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.



More information about the Gstreamer-bugs mailing list