summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorMatthias Kretz <kretz@kde.org>2007-12-03 16:47:53 +0100
committerMatthias Kretz <kretz@kde.org>2007-12-03 16:47:53 +0100
commitb312cde90d985df949beac9708476af28bc82113 (patch)
tree674ed617f5da1db44b8db8b201320449302aadae /m4
parent948b8dd9bfc33de61ff8c8bacf32eae53aa3b528 (diff)
downloadxine-lib-b312cde90d985df949beac9708476af28bc82113.tar.gz
xine-lib-b312cde90d985df949beac9708476af28bc82113.tar.bz2
Fixed a race condition between ao_loop and ao_close to not lose the last buffer.
In ao_loop only read the first buffer and remove it from the fifo only when the buffer has been written or is about to be discarded. This fixes the race between ao_loop and ao_close for good. Now fifo_remove_int may signal empty again right after removing the last buffer from the fifo.
Diffstat (limited to 'm4')
0 files changed, 0 insertions, 0 deletions