[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Windows signal handler and Control-C

From: mark benedetto king <mbk_at_lowlatency.com>
Date: 2004-01-16 17:27:25 CET

On Fri, Jan 16, 2004 at 11:16:21AM -0500, Garrett Rooney wrote:
> >
> >I'm a little concerned about the effects that has on OSen where
> >the signal handler *isn't* reset automatically. This could just
> >be paranoia on my part, though. Perhaps APR should set SA_RESETHAND
> >in its sigaction()-based apr_signal() implementation to remove the
> >ambiguity.
>
> What's the worst thing that can happen? It'll just reset the signal
> handler to exactly what it was before. No harm, no foul. Sure, it's
> not as efficient, but come on, it's not like the signal handler is in
> the critical path or something...
>

I dunno, I'm just paranoid about signal handlers. It's probably not
worth worrying about. The APR change would at least encourage the
development of more portable applications.

--ben

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jan 16 17:28:24 2004

This is an archived mail posted to the Subversion Dev mailing list.