diff options
author | Matthias Kretz <kretz@kde.org> | 2007-12-03 16:47:53 +0100 |
---|---|---|
committer | Matthias Kretz <kretz@kde.org> | 2007-12-03 16:47:53 +0100 |
commit | b312cde90d985df949beac9708476af28bc82113 (patch) | |
tree | 674ed617f5da1db44b8db8b201320449302aadae /po | |
parent | 948b8dd9bfc33de61ff8c8bacf32eae53aa3b528 (diff) | |
download | xine-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 'po')
0 files changed, 0 insertions, 0 deletions