当试图将不匹配的消息发送到 erlang shell 中的衍生进程时,我希望消息应该保留在邮箱中,但邮箱似乎是空的,为什么?
Erlang R15B02 (erts-5.9.2) [smp:2:2] [async-threads:0]
Eshell V5.9.2 (abort with ^G)
1> Pid = spawn(fun()->receive stop->stop end end).
<0.33.0>
2> Pid ! msg.
msg
3> erlang:process_info(Pid, messages).
{messages,[]} %% where is the msg?