[Bug 711138] iterator: Don't hold mutex while calling filter functions of recursive filter iterators

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sat Jan 18 05:51:27 PST 2014


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

Sebastian Dröge (slomo) <slomo> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |slomo at coaxion.net
         Resolution|                            |FIXED
   Target Milestone|HEAD                        |1.3.1
            Summary|Chained GstIteratorFilter   |iterator: Don't hold mutex
                   |objects don't release the   |while calling filter
                   |iterator's mutex when       |functions of recursive
                   |invoking the filter         |filter iterators
                   |function                    |

--- Comment #2 from Sebastian Dröge (slomo) <slomo at coaxion.net> 2014-01-18 13:51:23 UTC ---
commit bac1202cf7c8a3aeef14a1328f0651393f52175b
Author: Sebastian Dröge <sebastian at centricular.com>
Date:   Sat Jan 18 14:48:35 2014 +0100

    iterator: Properly copy mutexes around when creating a copy of a filter
iterator

commit af84535569342e2e4b35e700e60463335e676c72
Author: Sebastian Dröge <sebastian at centricular.com>
Date:   Sat Jan 18 14:34:45 2014 +0100

    iterator: Add unit tests for filtering, recursive filtering and locking

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

commit f77d79f2f8eae2e10b664ef83e7ea97a4b9e762b
Author: Stewart Brodie <stewart at eh.org>
Date:   Sat Jan 18 14:43:20 2014 +0100

    iterator: Preserve the master lock when creating recursive iterator filters
with the same lock

    This way we make sure that a) the lock is always taken when checking
    the cookie and calling the iterator's next functions and b) it is
    not taken while calling any of the iterator filter functions.

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

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