[Gstreamer-bugs] [Bug 142813] - Deadlock in optimal scheduler

bugzilla-daemon at bugzilla.gnome.org bugzilla-daemon at bugzilla.gnome.org
Wed May 19 18:30:44 PDT 2004


http://bugzilla.gnome.org/show_bug.cgi?id=142813
GStreamer | gstreamer (core) | Ver: 0.8.1





------- Additional Comments From dcm at acm.org  2004-05-19 21:30 -------
Created an attachment (id=27860)
 --> (http://bugzilla.gnome.org/attachment.cgi?id=27860&action=view)
Patch to fix deadlock

This patch fixes the aforementioned deadlock by creating a reference to each
element of the group before its pre-run function is executed.  The list of
elements is duplicated, so we can run the post-run function later for each
element that we ran the pre-run function for, even if the group changes during
the iteration.	After the iteration, we run the post-run functions, and unref
each element.

The patch applies to 0.8.1, and I've also tested it with 0.8.1, but I suspect
it also works fine with HEAD.

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are the QA contact for the bug, or are watching the QA contact.




More information about the Gstreamer-bugs mailing list