`
stephen
  • 浏览: 27470 次
  • 性别: Icon_minigender_1
社区版块
存档分类
最新评论

Erlang misc

阅读更多
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.

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics