[gstreamer-bugs] [Bug 607481] New: Should define G_THREADS_MANDATORY everywhere
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Tue Jan 19 11:36:50 PST 2010
https://bugzilla.gnome.org/show_bug.cgi?id=607481
GStreamer | gstreamer (core) | 0.10.x
Summary: Should define G_THREADS_MANDATORY everywhere
Classification: Desktop
Product: GStreamer
Version: 0.10.x
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gstreamer (core)
AssignedTo: gstreamer-bugs at lists.sourceforge.net
ReportedBy: slomo at circular-chaos.org
QAContact: gstreamer-bugs at lists.sourceforge.net
GNOME target: ---
GNOME version: ---
Hi,
in GLib HEAD there are optimizations now for all the thread functions if
G_THREADS_MANDATORY is set. In this case all the mutex, etc calls won't check
if threading support is available.
I'd propose to define it at the top of gst.h but maybe another place is better
because not everything includes gst.h (most notably gstreamer/gst/*)
Also instead of calling g_thread_supported() in gst_init(),
g_thread_get_initialized() should be called after this change.
--
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