Erlang/OTP document
If a third instance of the module is loaded, the code server will remove (purge) the old code and any processes lingering in it will be terminated. Then the third instance becomes 'current' and the previously current code becomes 'old'.
即 Erlang 只能保留两个版本的 Code ,如果有第三个版本的 Code ,那么第一个版本的 Code 将被清除,并且基于第一个版本运行的 process 也将被中止。
http://www.erlang.org/ml-archive/erlang-questions/200104/msg00072.html
A process is allowed to run until it pauses to wait for input (a
message from some other process) or until it has executed 1000
reductions.
If a third instance of the module is loaded, the code server will remove (purge) the old code and any processes lingering in it will be terminated. Then the third instance becomes 'current' and the previously current code becomes 'old'.
即 Erlang 只能保留两个版本的 Code ,如果有第三个版本的 Code ,那么第一个版本的 Code 将被清除,并且基于第一个版本运行的 process 也将被中止。
http://www.erlang.org/ml-archive/erlang-questions/200104/msg00072.html
A process is allowed to run until it pauses to wait for input (a
message from some other process) or until it has executed 1000
reductions.
本文介绍了Erlang/OTP中的代码升级机制:系统仅保留两个版本的代码,加载第三个版本时,首个版本及其运行的进程会被清除。此外,还说明了进程运行的基本条件。
585

被折叠的 条评论
为什么被折叠?



