aboutsummaryrefslogtreecommitdiffstats
path: root/bs/mkdir_p.sh
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2008-09-20 17:22:15 -0700
committerEric Wong <normalperson@yhbt.net>2008-09-20 17:26:42 -0700
commit66a934d068fb6e0aab2043d56a8857d57b6b7596 (patch)
tree4a5f5da8710069ad653fcd7258f832e27017c9a1 /bs/mkdir_p.sh
parent1952b762b0b7024c6a993e62ad957718ac669ac4 (diff)
downloadmpd-66a934d068fb6e0aab2043d56a8857d57b6b7596.tar.gz
mpd-66a934d068fb6e0aab2043d56a8857d57b6b7596.tar.xz
mpd-66a934d068fb6e0aab2043d56a8857d57b6b7596.zip
workaround race condition on updates with broken signal blocking
pthreads with our existing signal blocking/handling is broken, for now just sleep a bit in the child to prevent the CHLD handler from being called too early. Also, improve error reporting when handling SIGCHLD by storing the status to be called in the main task (which can be logged, since we can't do logging inside the sig handler).
Diffstat (limited to 'bs/mkdir_p.sh')
0 files changed, 0 insertions, 0 deletions