【发布时间】:2012-02-18 08:11:36
【问题描述】:
在erlang shell中创建了三个erlang进程并在本地注册,分别命名为Pid、Pid2、Pid3。然后我想首先通过函数“exit/2”终止“Pid”。
(emacs@yus-iMac.local)62> exit(lsaaa_dispatch,test). %lsaaa_dispatch is the above Pid's local registered name
** exception error: bad argument
in function exit/2
called as exit(lsaaa_dispatch,test)
为什么会发生异常? 为什么这三个进程都终止了?因为我在 Pman 中找不到它们。
【问题讨论】:
标签: erlang