blob: 5c5d92b7707a4c04ab59ea504bf0eb44b0c21b36 (
plain)
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_module9).
-export([start/2]).
start(AnAtom, Fun) ->
register(AnAtom, continue(AnAtom, Fun)).
continue(AnAtom, Fun) ->
whereis_intra_inter_module10:continue(AnAtom, Fun).
|