summaryrefslogtreecommitdiff
path: root/t/t9105-git-svn-commit-diff.sh
diff options
context:
space:
mode:
authorLibravatar Stephen R. van den Berg <srb@cuci.nl>2008-08-14 20:02:20 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2008-08-17 17:43:53 -0700
commit695605b5080e1957bd9dab1fed35a7fee9814297 (patch)
tree431e52d4942526f47a76a02237ceadff2a6b2932 /t/t9105-git-svn-commit-diff.sh
parentgit-daemon: use LOG_PID, simplify logging code (diff)
downloadtgif-695605b5080e1957bd9dab1fed35a7fee9814297.tar.xz
git-daemon: Simplify dead-children reaping logic
Move almost all code out of the child_handler() into check_dead_children(). The fact that systemcalls get interrupted by signals allows us to make the SIGCHLD signal handler almost a no-op by simply running check_dead_children() right before waiting on poll(). In case some systems do not interrupt systemcalls upon signal receipt, all zombies will eventually be collected before the next poll() cycle. Signed-off-by: Stephen R. van den Berg <srb@cuci.nl> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t9105-git-svn-commit-diff.sh')
0 files changed, 0 insertions, 0 deletions