blob: afe5214648859884ba3d6a85f74400f732f058e5 (
plain) (
tree)
|
|
%% This tests that the race condition detection between whereis/register
%% is robust w.r.t. having the calls in separate modules.
-module(whereis_diff_modules2_twice).
-export([race/2, race_again/2]).
race(Atom, Pid) ->
register(Atom, Pid).
race_again(Atom, Pid) ->
register(Atom, Pid).
|