Skip to content
Prev 18242 / 398513 Next

How to detach binary objects/libraries?

Prof Brian D Ripley <ripley at stats.ox.ac.uk> writes:
AFAIR, it works on Linux. Running processes just continue using the
old version (which gets unlinked in the usual Unix way and goes away
when no more processes are using it). E.g., you can upgrade the
readline library without crashing all running instances of bash...

On Solaris, I believe that overwriting a shared lib will write
directly into the memory space of any process using the file.