Re: [PATCH 2/3] git-daemon: make the signal handler almost a no-op

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Junio C Hamano <gitster@...>
Cc: <git@...>, Johannes Schindelin <Johannes.Schindelin@...>
Date: Thursday, August 14, 2008 - 6:13 am

Junio C Hamano wrote:


Then that is the fundamental difference in maintainability-views.
I find it more likely that we change the interface to setup the signal
handler (in a future OS or by changing the way you invoke it), than 
that the actual work done by the signal handler is changed.

But since your view carries more weight here, I'll adapt the patch to
solution A.



From a portability standpoint using sigaction is worse than signal, and
rearming the handler even when it is not required is not a big deal.
-- 
Sincerely,
           Stephen R. van den Berg.

"Hold still, while I inject you with SQL."
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 1/3] git-daemon: logging done right, Stephen R. van den Berg, (Wed Aug 13, 4:43 am)
Re: [PATCH 1/3] git-daemon: logging done right, Junio C Hamano, (Wed Aug 13, 7:13 pm)
[PATCH 3/3] git-daemon: rewrite kindergarden, Stephen R. van den Berg, (Wed Aug 13, 4:43 am)
Re: [PATCH 3/3] git-daemon: rewrite kindergarden, Petr Baudis, (Wed Aug 13, 5:05 am)
Re: [PATCH 3/3] git-daemon: rewrite kindergarden, Stephen R. van den Berg, (Wed Aug 13, 6:37 am)
[PATCH] git-daemon: rewrite kindergarden, Stephen R. van den Berg, (Wed Aug 13, 5:00 am)
[PATCH] git-daemon: rewrite kindergarden, new option --max-c..., Stephen R. van den Berg, (Wed Aug 13, 6:40 am)
Re: [PATCH 3/3] git-daemon: rewrite kindergarden, Stephen R. van den Berg, (Wed Aug 13, 4:58 am)
[PATCH 2/3] git-daemon: make the signal handler almost a no-op, Stephen R. van den Berg, (Wed Aug 13, 4:43 am)
Re: [PATCH 2/3] git-daemon: make the signal handler almost a..., Johannes Schindelin, (Thu Aug 14, 9:41 am)
Re: [PATCH 2/3] git-daemon: make the signal handler almost a..., Stephen R. van den Berg, (Wed Aug 13, 8:18 pm)
Re: [PATCH 2/3] git-daemon: make the signal handler almost a..., Stephen R. van den Berg, (Thu Aug 14, 3:47 am)
Re: [PATCH 2/3] git-daemon: make the signal handler almost a..., Stephen R. van den Berg, (Thu Aug 14, 6:13 am)