Differences between modules and library modules.

Hal Snyder hal@REDACTED
Tue Feb 11 18:17:50 CET 2003


Lennart Öhman <lennart.ohman@REDACTED> writes:

> Library modules was something we "invented" when we started
> to think about release upgrades in run-time in BOS (the predecesor
> of OTP). We needed a definition (though we never did a formal one)
> of modules in which processes made "quick visits", but never had
> any prevailing references to. A library module can therefore,
> in most situations, be replaced and the old version purged without
> much thinking in to the consequences.
>
> /Lennart
>
>
> Ulf Wiger wrote:
>> On Tue, 11 Feb 2003, Enrique Marcote Peña wrote:
>>
>>>What are the differences between a module and a "library
>>>module"?
>> I would guess that a library module is one that does not
>> describe the control a process. lists.erl would be a typical
>> library module. I don't know that there is a formal division
>> between library and non-library module (what would you call
>> gen_server?)

See definitions for "Residence module", "Alien module", and
"Library module" in the following - is this definitive?

http://www.ericsson.com/cslab/~peter/code-replacement.html



More information about the erlang-questions mailing list