1 2 3 4 5 6 7 8 9 10 11 12
-module(no_4). -compile(export_all). ?MODULE() -> ok. f(X) -> {Pid,Ref} = spawn_monitor(fun() -> ok end), r(Pid, Ref). r(_, _) -> ok.