aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenrik Nord <[email protected]>2015-05-22 10:24:55 +0200
committerHenrik Nord <[email protected]>2015-05-22 10:24:55 +0200
commita380be676da85add8258706b63f5234cd640270b (patch)
treeb6cdba33ca6c0758d003c565c24345ae8e5f2444
parent84c034c7a0852165b58ee1134b604ffbf61a1a1c (diff)
parentd3fd0f9eb313501e91fb816ddfd8e17cd9b07c70 (diff)
downloadotp-a380be676da85add8258706b63f5234cd640270b.tar.gz
otp-a380be676da85add8258706b63f5234cd640270b.tar.bz2
otp-a380be676da85add8258706b63f5234cd640270b.zip
Merge branch 'richcarl/ac_tab-concurrency'
* richcarl/ac_tab-concurrency: Use read_concurrency for application environment
-rw-r--r--lib/kernel/src/application_controller.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/kernel/src/application_controller.erl b/lib/kernel/src/application_controller.erl
index 6635885aaf..a1a99a4e18 100644
--- a/lib/kernel/src/application_controller.erl
+++ b/lib/kernel/src/application_controller.erl
@@ -490,7 +490,8 @@ init(Init, Kernel) ->
%% called during start-up of any app.
case check_conf_data(ConfData) of
ok ->
- _ = ets:new(ac_tab, [set, public, named_table]),
+ _ = ets:new(ac_tab, [set, public, named_table,
+ {read_concurrency,true}]),
S = #state{conf_data = ConfData},
{ok, KAppl} = make_appl(Kernel),
case catch load(S, KAppl) of