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

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Oct 28 13:22:27 PDT 2009


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

--- Comment #10 from Sebastian Dröge <slomo at circular-chaos.org> 2009-10-28 20:22:25 UTC ---
(In reply to comment #9)
> Thinking back to my non-existent CS days, shouldn't the ideal hash table lookup
> in this case be lockless?  (Or rather, lockless check followed by
> lock;recheck;register;unlock.)  If this is not the case, let's fix glib.

Well, GHashTable simply isn't threadsafe and you need to do the locking from
the outside :(

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