reload .so without restarting process

Sam Varshavchik mrsam@courier-mta.com
Sun Dec 1 14:28:00 GMT 2013


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




More information about the Gcc-help mailing list