This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: reload .so without restarting process


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]