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

Re: CVS update: subversion/subversion/clients/win32/svn_com SVN.cpp MarshalArray.h

From: Greg Stein <gstein_at_lyra.org>
Date: 2001-02-02 20:42:06 CET

On Fri, Feb 02, 2001 at 08:35:54PM +0100, Branko Cibej wrote:
> rassilon@tigris.org wrote:
>
> > +// BUG BUG BUG BUG BUG BUG BUG BUG BUG BUG BUG BUG BUG BUG BUG BUG BUG BUG
> > +// This class as is returns IMarshal * for IEnumConnectionPoint calls.
> > +// This doesn't cause any problems currently.
> > +// The only way to fix this is to have a per thread proxy cache.
> > +// BUT... This requires catching DLL_THREAD_DETACH in DllMain in order
>
> Forget it, that won't work in general. One of the more marvelous
> features of Win32 dynamic linking is that DLL_THREAD_DETACH and
> DLL_PROCESS_DETACH don't get sent if a process crashes.

Well... if there is a crash, then there is a crash. Not much you can do
about that. You can code for proper behavior, but not for crashes.

Note that these objects are all in-proc anyways. A crash would take down the
objects *and* their marshalling proxies.

[ what we'd really want is to avoid the fuggin apartment threaded objects,
  but the GUI stuff needs it... sigh. ]

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/
Received on Sat Oct 21 14:36:21 2006

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.