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

Re: [TSVN] [Patch] Explorer Lockup resolved?

From: Joseph Galbraith <galb_at_vandyke.com>
Date: 2005-04-30 18:16:37 CEST

SteveKing wrote:
> Norbert Unterberg wrote:
> [snip]
>
>> If that works, you may 'go'.
>
>
> It does. Committed your patch in revision 3185.
>
>> Regarding the TSVNCache threads closing cleanly, the way I prevere is
>> a "shutdown" event, and then have the threads use
>> WaitForMultipleObjects() when waiting for the pipes. But I still do
>> not understand what that
>
> That's a good idea! But you'd still need a way to get passed a blocking
> call to ConnectNamedPipe().

You could CreateNamedPipe(FILE_FLAG_OVERLAPPED)... then ConnectNamedPipe
wouldn't block. You could then use WaitForMultipleObjects() to
wait for the overlapped event & and exit event.

(Of course, you'd have to deal with this anyplace else you do I/O
on the pipe, cause it wouldn't block anymore either... so it might
be more trouble than it's worth.

Thanks,

Joseph

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Sat Apr 30 18:15:33 2005

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

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