diff options
author | Max Kellermann <max@duempel.org> | 2009-10-16 15:09:22 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-10-16 15:09:22 +0200 |
commit | 2c908fde1b5f0c0be1c7c7d4dd4fd444c31ae341 (patch) | |
tree | 7792a3eaf0b0dcf697990ccb8407ba04dfb7c6ac /INSTALL | |
parent | 6037beabe1b704093620704d279cda43d4874c4e (diff) | |
download | mpd-2c908fde1b5f0c0be1c7c7d4dd4fd444c31ae341.tar.gz mpd-2c908fde1b5f0c0be1c7c7d4dd4fd444c31ae341.tar.xz mpd-2c908fde1b5f0c0be1c7c7d4dd4fd444c31ae341.zip |
output_thread: check again if output is open on CANCEL
When the player thread unpauses, it sends CANCEL to the output thread,
after having checked that the output is still open. Problem is when
the output thread closes the device before it can process the CANCEL
command - race condition. This patch adds another "open" check inside
the output thread.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions