diff options
author | Eric Wong <normalperson@yhbt.net> | 2008-08-19 03:31:25 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2008-08-19 03:31:25 -0700 |
commit | 548385ac6cc0bc344762e19117f94258e7ea2251 (patch) | |
tree | dcd2bae159f63d7a234d3ff740402aceea47dfcf /src/inputPlugin.h | |
parent | 3befb84a6a7a95de7e0e94c2f0bd9936ecb60668 (diff) | |
download | mpd-548385ac6cc0bc344762e19117f94258e7ea2251.tar.gz mpd-548385ac6cc0bc344762e19117f94258e7ea2251.tar.xz mpd-548385ac6cc0bc344762e19117f94258e7ea2251.zip |
fix output buffer deadlock when daemonizing
We spawned the output buffer thread before daemonizing in
initPlayerData(), which is ultra bad because daemonizes forks
and threads are not preserved on exit. Since playerData has
been stripped bare by this core-rewrite anyways, move this code
into the outputBuffer_* group and drop playerData.[ch]
completely
I completely forgot to test this :<
Diffstat (limited to '')
-rw-r--r-- | src/inputPlugin.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/inputPlugin.h b/src/inputPlugin.h index 169781931..61cef9bef 100644 --- a/src/inputPlugin.h +++ b/src/inputPlugin.h @@ -21,7 +21,6 @@ #include "inputStream.h" #include "outputBuffer.h" -#include "playerData.h" /* valid values for streamTypes in the InputPlugin struct: */ #define INPUT_PLUGIN_STREAM_FILE 0x01 |