[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: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2004-01-19 19:00:14 CET

On Mon, 2004-01-19 at 12:36, Tobias Ringstrom wrote:
> The problem is that apr_signal does not document whether it resets the
> signal handler or not, and that it relly does behave differently on
> different platforms. It obviously does reset it on Win32 which uses
> signal (since it does not have sigaction).

Okay. After consulting your MSDN reference, I'm willing to believe that
win32 only offers signal(), which resets the signal handler. I think
APR could work around this behavior by wrapping the application-provided
signal handler, but I'm not sure it would be easy to do so in a
thread-safe manner, so I won't insist that the right fix is for APR to
provide consistent behavior.

I withdraw my -1 on resetting the signal handler from within the signal
functions in Subversion.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Jan 19 19:01:23 2004

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