IT博客汇
  • 首页
  • 精华
  • 技术
  • 设计
  • 资讯
  • 扯淡
  • 权利声明
  • 登录 注册

    Erlang的常驻模块与功能模块

    金庆发表于 2015-06-10 02:46:00
    love 0
    Erlang的常驻模块与功能模块

    Residence module

    The module where a process has its tail-recursive loop function(s).
    If the tail-recursive loop functions are implemented in several modules,
    all those modules are residence modules for the process.

    Functional module

    A module which is not a residence module for any process.

    Note that for a process implemented using an OTP behaviour,
    the behaviour module is the residence module for that process.
    The callback module is a functional module.

    常驻模块是指loop()函数所在模块,其他模块为功能模块。
    对于OTP行为,行为模块是常驻模块,回调模块是功能模块。

    行为模块已由OTP实现。


    金庆 2015-06-10 10:46 发表评论


沪ICP备19023445号-2号
友情链接