[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 IClassFactory::LockServer done wrong

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Thu, 03 Mar 2011 20:26:29 +0100

On 03.03.2011 07:46, Dmitry wrote:
> Hey.
>
> Attached is an untested patch that addresses malfunctioning of IClassFactory::LockServer.
> If a client calls LockServer( true ), then creates an object with that factory, then releases the object, WM_QUIT is posted and the server terminates ignoring the lock.
>
> The patch addresses this by using one global lock the same way as it is done in ATL.
>
> Also DllMain function is not used in an out-proc server.

Committed in r20955.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=2709378
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2011-03-03 20:26:40 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.