[gstreamer-bugs] [Bug 599870] [API] micro-optimisation: add GST_DEBUG_FUNCPTR_FULL

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Oct 27 23:25:35 PDT 2009


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

Sebastian Dröge <slomo> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
                 CC|                            |slomo at circular-chaos.org
     Ever Confirmed|0                           |1

--- Comment #1 from Sebastian Dröge <slomo at circular-chaos.org> 2009-10-28 06:25:32 UTC ---
Makes sense... letting instantiation block on a global mutex is probably not
the best idea :)

Changing that mutex to a RW lock and letting _gst_debug_register_funcptr()
first take a R lock to check if it already is inserted and only take a W lock
if it isn't might be a cleaner fix though.

-- 
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