Re: reload .so without restarting process

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks !
 I have tried this method ,but the problem is the main process still
use old functions , though I have dlclose that .so and then load the
newer one .


what is the reason ?How could I fix this ?


2013/12/1 Sam Varshavchik <mrsam@xxxxxxxxxxxxxxx>:
> Hatt Tom writes:
>
>> hi:
>>
>> Is it possible to reload .so file withour restarting thr process ?
>>
>> As I need to update some functions in my .so  ,  and it is not
>> pleasure to interrupt the main process . is there way to achive this?
>
>
> Only if you, yourself has manually loaded the .so with dlopen(). Then, you
> just dlclose() and dlopen() it again.
>
> man dlopen
>
>



-- 
Best Regards!





[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux