blob: 1f702e7af34c8e51ff58d85c3445278f729a7c2f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
%% This tests that the race condition detection between whereis/register
%% is robust w.r.t. having the calls in separate functions and modules.
-module(whereis_intra_inter_module7).
-export([start/2]).
start(AnAtom, Fun) ->
register(AnAtom, continue(AnAtom, Fun)).
continue(AnAtom, Fun) ->
whereis_intra_inter_module8:continue(AnAtom, Fun).
|