diff options
author | Max Kellermann <max@duempel.org> | 2009-02-02 16:57:24 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-02-02 16:57:24 +0100 |
commit | 37bcd711b57c1d668a9400be1a94f5d52d54f5a4 (patch) | |
tree | ae26fdeb7da924450b490965b30ee2143ac5c8b1 /src/pcm_channels.c | |
parent | 231636b9eb2ecd7d8669d309a74c3a51cd5ddfae (diff) | |
download | mpd-37bcd711b57c1d668a9400be1a94f5d52d54f5a4.tar.gz mpd-37bcd711b57c1d668a9400be1a94f5d52d54f5a4.tar.xz mpd-37bcd711b57c1d668a9400be1a94f5d52d54f5a4.zip |
main: create database after daemonization
When the update thread is started before MPD has forked (for
daemonization), it is killed, because threads do not survive a fork().
This induces an inconsistent state where MPD won't start any update
thread at all, because it thinks the thread is already running.
Diffstat (limited to 'src/pcm_channels.c')
0 files changed, 0 insertions, 0 deletions