blob: 5be91ea6b048998d41325055cd9c062845e6be4b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
-module(yes_26).
-compile(export_all).
?MODULE() ->
ok.
f() ->
{_,Ref} = spawn_monitor(?MODULE, init, []),
receive
{'DOWN',Ref,_,_,Reason} ->
Reason
end.
init() ->
ok.
|