atomicqueue: fix race
authorWim Taymans <wim.taymans@collabora.co.uk>
Fri, 24 Feb 2012 14:24:42 +0000 (15:24 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Fri, 24 Feb 2012 14:24:42 +0000 (15:24 +0100)
commited29f33ddb6f9a10ff75a53adae525aa165a6ecf
tree9d620c542965c85f181ec2fc6a15896f4cec6552
parent61e8fa0dc5dc5efb3b55101861df1f891bb64694
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.
gst/gstatomicqueue.c