diff options
author | Michael Roitzsch <mroi@users.sourceforge.net> | 2003-12-24 13:06:10 +0000 |
---|---|---|
committer | Michael Roitzsch <mroi@users.sourceforge.net> | 2003-12-24 13:06:10 +0000 |
commit | 5df09f99f17cf51ae657331dec51277ea80965b8 (patch) | |
tree | 49a72fd4c09a338aa5e0c42cc73d515cf207eace /win32 | |
parent | 79f4997de5d05c1ed1e7f16cd5a73b4c537973b6 (diff) | |
download | xine-lib-5df09f99f17cf51ae657331dec51277ea80965b8.tar.gz xine-lib-5df09f99f17cf51ae657331dec51277ea80965b8.tar.bz2 |
thanks to Carsten Weinhold for finding and fixing this:
pthread locks are _not_ fair (shocking news for me), so audio out has a
problem: the audio out loop holds the driver_lock almost always (since the
write() to the driver takes most of the time); other threads who want that
lock (like the frontend trying to change the volume) can starve;
the problem shows on kernel 2.6 with NPTL, but the potential is there in
all pthread implementations
CVS patchset: 5938
CVS date: 2003/12/24 13:06:10
Diffstat (limited to 'win32')
0 files changed, 0 insertions, 0 deletions