diff options
| author | Johannes Schindelin <Johannes.Schindelin@gmx.de> | 2008-07-22 23:03:01 +0100 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2008-07-23 16:57:14 -0700 |
| commit | f9bbefc701e319983bb8e13df8d615293c6f386a (patch) | |
| tree | 49257515ef3eac8c0caefb29a4c7c403f347e068 /git-gui/lib/console.tcl | |
| parent | 3b6aeb3cc37c8ef934850fb01e1de48e12cf3aac (diff) | |
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 'git-gui/lib/console.tcl')
0 files changed, 0 insertions, 0 deletions
