diff options
author | Max Kellermann <max@duempel.org> | 2009-03-25 17:07:15 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-03-25 17:07:15 +0100 |
commit | 4dbf73d88bf5ab2da154ac2f537aa28a67c5f8b6 (patch) | |
tree | 56158acb8882f2879af37ed4345dc571c272150c /src/permission.c | |
parent | 71cd24954a34bc9fb0fdf6505616ba79b8320a5a (diff) | |
download | mpd-4dbf73d88bf5ab2da154ac2f537aa28a67c5f8b6.tar.gz mpd-4dbf73d88bf5ab2da154ac2f537aa28a67c5f8b6.tar.xz mpd-4dbf73d88bf5ab2da154ac2f537aa28a67c5f8b6.zip |
output: protect audio_output.open with the mutex
There was a deadlock between the output thread and the player thread:
when the output thread failed (and closed itself) while the player
thread worked with the audio_output object, MPD could crash.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions