[R] How to detach binary objects/libraries?

Peter Dalgaard BSA p.dalgaard at biostat.ku.dk
Tue Mar 26 09:15:10 CET 2002


Prof Brian D Ripley <ripley at stats.ox.ac.uk> writes:

> But my point was: what does changing the file copy of an already loaded
> shared library do?   It's not allowed on Windows, and on Solaris it will
> lead to a crash.  I don't know about Linux, as I would never try it
> given my experience.

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.

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list