[Bug 673515] atomicqueue, patch from 0.11

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sat Apr 7 08:31:14 PDT 2012


https://bugzilla.gnome.org/show_bug.cgi?id=673515
  GStreamer | gstreamer (core) | 0.10.x

Tim-Philipp Müller <t.i.m> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |t.i.m at zen.co.uk
         Resolution|                            |FIXED
   Target Milestone|HEAD                        |0.10.37

--- Comment #1 from Tim-Philipp Müller <t.i.m at zen.co.uk> 2012-04-07 15:31:08 UTC ---
Done:


commit f251e3073b75c9f82333fc102e391b77aae2ee3a
Author: Wim Taymans <wim.taymans at collabora.co.uk>
Date:   Fri Feb 24 15:24:42 2012 +0100

    atomicqueue: fix race

    After a writer has written to its reserved write location, it can only make
the
    location available for reading if all of the writers with lower locations
have
    finished.

commit 930c0197218b216ba78a04750fc4706f31aa7d98
Author: Wim Taymans <wim.taymans at collabora.co.uk>
Date:   Fri Feb 24 12:51:24 2012 +0100

    atomicqueue: fix subtle race

    Fix a race where the reader would see the updated the tail pointer before
the
    write could write the data into the queue. Fix this by having a separate
reader
    tail pointer that is only incremented after the writer wrote the data.

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