diff options
author | Tomer Chachamu <[email protected]> | 2012-05-02 15:30:38 +0200 |
---|---|---|
committer | Tomer Chachamu <[email protected]> | 2012-05-02 14:49:43 +0100 |
commit | b991b99f9a7cf875786c7e96970c7aff37c9a6e7 (patch) | |
tree | 98e3494a062b9cdce1b9b4ab9c890074e24f1c9c /lib/kernel/src/erl_boot_server.erl | |
parent | f1a49c45e4b2ec746407fd777ba31fec6cab118e (diff) | |
download | otp-b991b99f9a7cf875786c7e96970c7aff37c9a6e7.tar.gz otp-b991b99f9a7cf875786c7e96970c7aff37c9a6e7.tar.bz2 otp-b991b99f9a7cf875786c7e96970c7aff37c9a6e7.zip |
Fix rpc:call/5 for local calls with a finite Timeout
-module(rpc_example).
-export([f/0, should_return_ok/0]).
should_return_ok() ->
{badrpc, timeout} = rpc:call(node(), ?MODULE, f, [], 5000),
ok.
f() ->
Ref = make_ref(),
receive
Ref -> ok
end.
Diffstat (limited to 'lib/kernel/src/erl_boot_server.erl')
0 files changed, 0 insertions, 0 deletions