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

Re: Issue #1586: Cancellation during gethostbyname() and connect()

From: Branko ─îibej <brane_at_xbc.nu>
Date: 2004-07-03 02:05:03 CEST

kfogel@collab.net wrote:

>Josh Pieper <jjp@pobox.com> writes:
>> b) Temporarily disable the interrupt handler during possibly hanging
>> network operations. It could be tricky, because it's hard to tell
>> what could be allocated in pools that won't be cleaned up. This
>> also seems like a very naughty thing for a library to do.
>> c) Make subversion multi-threaded and push off all possibly hanging
>> network operations into other threads. Very complicated, but I'm
>> including it for completeness.
>> c) Do nothing... a user may need to use kill -9 in order to
>> interrupt svn if a network operation hangs.
>>Are there any other options and/or opinions? I'm leaning towards the
>>last option, but I want to see if there are any other ideas or
>I think (b) may be feasible, actually.
It's not thread-safe, so you can't do it in the library.

-- Brane

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Jul 3 02:07:56 2004

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.