[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:12:43 CET

On Fri, Jan 16, 2004 at 10:37:04AM -0500, Garrett Rooney wrote:
>
> It was from me, but I didn't #ifdef it for win32. In fact, I just
> experimented with signal handlers on the Solaris box I've got in front
> of me, and it seems like the (reset the signal handler after it fires)
> also occurs on Solaris, so I'm leaning towards just reseting it
> everywhere to be absolutely safe.
>

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.

--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:13:47 2004

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