[MSI] DllCanUnloadNow try2

Christian Gmeiner christian.gmeiner at students.fh-vorarlberg.ac.at
Mon Dec 5 03:21:24 CST 2005


Dmitry Timoshkov wrote:

>"Christian Gmeiner" <christian.gmeiner at students.fh-vorarlberg.ac.at> wrote:
>
>  
>
>>+/**********************************************************************
>>+ * Dll lifetime tracking declaration
>>+ */
>>+void LockModule(void)
>>+{
>>+    InterlockedIncrement(&dll_count);
>>+}
>>+
>>+void UnlockModule(void)
>>+{
>>+    InterlockedDecrement(&dll_count);
>>+}
>>    
>>
>
>Since these 2 are used from inside single source file they can (and should) be
>made static.
>
>  
>
Thanks for your hint. Try 3 of my patch should be ok now - i hope.

Greets, Christian

-- 
Christian Gmeiner - student of computer science

http://dxr3plugin.sf.net
http://itb04.ath.cx




More information about the wine-devel mailing list