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

Re: Patch - out-proc server will run forever if no objects are instantiated

From: Dmitry <wipedout_at_yandex.ru>
Date: Fri, 04 Mar 2011 12:20:29 +0300

Hey.

According to this: http://msdn.microsoft.com/en-us/library/ms679709%28v=vs.85%29.aspx there's an call to IClassFactory::LockServer() done by COM internally, so the part with the timer is not needed. The part with the global variable is still relevant.

Best wishes.
Dmitry.

04.03.11, 10:02, "Dmitry" <wipedout_at_yandex.ru>:

> Hey.
>
> Attached is an untested patch that addresses two issues.
>
> First, if a client call CoGetClassObject but never successfully instantiates anything with the factory - either because the client doesn't even try or because it tries to instantiate a class the factory can't provide - the server runs forever.
>
> Second, there's a global variable for the module handle that shouldn't be global.
>
> Best wishes.
> Dmitry.
>
> ------------------------------------------------------
> http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=2709486
>
> To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
>

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=2709516

To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2011-03-04 10:22:26 CET

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.