aboutsummaryrefslogtreecommitdiffstats
path: root/lib/gs
diff options
context:
space:
mode:
authorTomer Chachamu <[email protected]>2012-05-02 15:30:38 +0200
committerTomer Chachamu <[email protected]>2012-05-02 14:49:43 +0100
commitb991b99f9a7cf875786c7e96970c7aff37c9a6e7 (patch)
tree98e3494a062b9cdce1b9b4ab9c890074e24f1c9c /lib/gs
parentf1a49c45e4b2ec746407fd777ba31fec6cab118e (diff)
downloadotp-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/gs')
0 files changed, 0 insertions, 0 deletions