[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: Norbert Unterberg <nepo_at_gmx.net>
Date: 2005-04-30 19:52:41 CEST

SteveKing schrieb:

> When closing the application, that thread won't exit cleanly.

I sometimes use a dirty trick which seems to work on windows: Store the
pipe handles in a place where the main window can reach them, and just
close the handles. That way the threads' read and connect functions
unblock and return with an error because of the invalid handles. Then
the threads can check the bRun variable and terminate accordingly.

But to be on the very save side, the main thread would need to block on
the other thread handles to make shure they got enough CPU time to
actually cleanup. And I am not sure if that's worth the work. Do you
(we) ever terminate the cache, except from task manager?

Norbert

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Sat Apr 30 19:53:02 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.