Use proc_lib for spawning

This commit is contained in:
Kresten Krab Thorup 2012-01-05 18:09:00 +01:00
parent 6c0766a433
commit cff74ac93a

View file

@ -244,7 +244,7 @@ begin_merge(State) ->
file:delete(XFileName),
MergePID = spawn_link(fun() ->
MergePID = proc_lib:spawn_link(fun() ->
{ok, OutCount} = fractal_btree_merger2:merge(AFileName, BFileName, XFileName,
1 bsl (State#state.level + 1)),