From cff74ac93a004f874b5ad79650cbf2a44b1506e5 Mon Sep 17 00:00:00 2001 From: Kresten Krab Thorup Date: Thu, 5 Jan 2012 18:09:00 +0100 Subject: [PATCH] Use proc_lib for spawning --- src/fractal_btree_level.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fractal_btree_level.erl b/src/fractal_btree_level.erl index 6e87923..55f18c1 100644 --- a/src/fractal_btree_level.erl +++ b/src/fractal_btree_level.erl @@ -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)),