[Bug 790468] atomicqueue: not MT-safe and racy

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Nov 20 12:46:43 UTC 2017


https://bugzilla.gnome.org/show_bug.cgi?id=790468

--- Comment #5 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
Yes, but that's what Wim told me last time I looked into this (because of
memory corruption in GstBus).

By having the synchronization outside the queue, you could potentially compose
it better with other things that needs synchronization too. Like waiting for
one out of many things instead of blocking on the queue directly.

Also the GstPoll is only atomic integer operations, unless it actually has to
wait.

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