|
From: | Juergen Sauermann |
Subject: | Re: [Bug-apl] Shared library survives session |
Date: | Tue, 11 Nov 2014 17:20:45 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.0 |
Hi Blake, there is a big difference between shared variables and shared libraries: shared variables have state. For that reason shared variables cannot be restored from a file in a reasonable way. Assume for the moment that we don't reload shared libraries. Then it would not be possible to continue any workspace with a non-clear )SI and shared libraries. It is actually the shared library that decides what to do when a workspace is cleared (such as before )LOAD). The shared library is informed just before that happens and may or may not unload itself. Some libraries do that (most likely SQL) while others don't (FILE_IO and also, I believe, emacs mode). In the case of FILE_IO it is mostly stateless so it doesn't unload itself. /// Jürgen On 11/11/2014 04:11 PM, Blake McBride
wrote:
|
[Prev in Thread] | Current Thread | [Next in Thread] |