aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRichard Carlsson <[email protected]>2015-05-13 15:38:28 +0200
committerRichard Carlsson <[email protected]>2015-05-13 15:38:28 +0200
commitd3fd0f9eb313501e91fb816ddfd8e17cd9b07c70 (patch)
tree7ac8956b57db3e0272d8d43709874d1966254d60 /lib
parent9a81b28598fadc44bf506354c9227e41aac786f6 (diff)
downloadotp-d3fd0f9eb313501e91fb816ddfd8e17cd9b07c70.tar.gz
otp-d3fd0f9eb313501e91fb816ddfd8e17cd9b07c70.tar.bz2
otp-d3fd0f9eb313501e91fb816ddfd8e17cd9b07c70.zip
Use read_concurrency for application environment
Diffstat (limited to 'lib')
-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