Strange

Fyodor Ustinov ufm@REDACTED
Fri Oct 22 17:15:22 CEST 2010


  Erlang R14B (erts-5.8.1.1) [source] [rq:1] [async-threads:0] 
[kernel-poll:false]

Eshell V5.8.1.1  (abort with ^G)
1> gen_server:call({global, 'nonexistent'}, aa).
** exception exit: {noproc,{gen_server,call,[{global,nonexistent},aa]}}
      in function  gen_server:call/2
2> gen_server:cast({global, 'nonexistent'}, aa).
ok
3>

Why gen_server:cast return 'ok'?


More information about the erlang-bugs mailing list