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

Re: Client hangs when svnserve does not respond

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2005-08-03 01:40:17 CEST

On Tue, 2005-08-02 at 18:41 -0400, David James wrote:
> On 8/2/05, Julian Foad <julianfoad@btopenworld.com> wrote:
> > The problem, as I understand it, is that in several different cases the user
> > can't interrupt Subversion during a system call that is taking too long. This
> > is because our SIGINT handler just sets a flag when they press Ctrl-C and
> > doesn't do anything else. We should be able to modify our SIGINT handler to
> > avoid that problem. It should set the flag, and then arrange that if a second
> > SIGINT should be received, it will unconditionally terminate the application.
> > It can probably do so by uninstalling itself, so that any future SIGINT has the
> > default handling. [*]
> This sounds like a good solution. How do you suggest we deal with
> other signals, such as SIGTERM and SIGHUP?

Why does it sound like a good solution? It's the easy way out; we'll be
creating a bunch of unclean exit situations because we're too lazy to
engineer a proper solution.

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Aug 3 01:41:28 2005

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.