After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 673515 - atomicqueue: backport patches from 0.11 branch
atomicqueue: backport patches from 0.11 branch
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
0.10.x
Other Linux
: Normal normal
: 0.10.37
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-04-04 15:35 UTC by Nicola
Modified: 2012-04-07 15:31 UTC
See Also:
GNOME target: ---
GNOME version: ---



Comment 1 Tim-Philipp Müller 2012-04-07 15:31:08 UTC
Done:


commit f251e3073b75c9f82333fc102e391b77aae2ee3a
Author: Wim Taymans <wim.taymans@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@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.