delayed unloading of .so in WINE

Alexandre Julliard julliard at winehq.org
Wed Jul 28 11:21:59 CDT 2004


Santosh Siddheshwar <santosh.s at sonata-software.com> writes:

>   Is there any way to specify in config file or any other place, a way to
> prevent/delay a shared object from being unloaded till
> the application using it terminates? In dlopen there is a flag RTLD_NODELETE
> which keeps the loaded shared object in memory even after dlclose is called.
> The shared object is unloaded only when the app exits. Do we have some way
> to do this in WINE?

You could always call LoadLibrary one more time to increase the ref
count I suppose. What are you trying to do?

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list