summaryrefslogtreecommitdiff
path: root/name-hash.c
diff options
context:
space:
mode:
authorLibravatar Johannes Schindelin <Johannes.Schindelin@gmx.de>2008-07-22 23:03:01 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2008-07-23 16:57:14 -0700
commitf9bbefc701e319983bb8e13df8d615293c6f386a (patch)
tree49257515ef3eac8c0caefb29a4c7c403f347e068 /name-hash.c
parentbuiltin-commit: Two trivial style-cleanups (diff)
downloadtgif-f9bbefc701e319983bb8e13df8d615293c6f386a.tar.xz
git daemon: avoid waking up too often
To avoid waking up unnecessarily, a pipe is set up that is only ever written to by child_handler(), when a child disconnects, as suggested per Junio. This avoids waking up the main process every second to see if a child was disconnected. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'name-hash.c')
0 files changed, 0 insertions, 0 deletions