aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mnesia/src/mnesia_controller.erl
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2018-05-17 19:29:45 +0200
committerSverker Eriksson <[email protected]>2018-05-17 19:29:45 +0200
commit93b48f41103a7491ae1c6955ff5ceb5ee15ee666 (patch)
tree00f8ba084b3c10a9dc520b3b4e91c79907f37ee1 /lib/mnesia/src/mnesia_controller.erl
parent4b8a81dd49fbeda8f2da118d43f3690a61f2283a (diff)
downloadotp-93b48f41103a7491ae1c6955ff5ceb5ee15ee666.tar.gz
otp-93b48f41103a7491ae1c6955ff5ceb5ee15ee666.tar.bz2
otp-93b48f41103a7491ae1c6955ff5ceb5ee15ee666.zip
crypto: Robustify the do-once-initialization
Introduce boolean 'library_initialized' that is set once and never cleared as that is how initialization must be done. Kept 'library_refc' as it may be interesting for debugging. Moved the three init_*_types() functions last as those must only be called once and there were error cases bailing out after them.
Diffstat (limited to 'lib/mnesia/src/mnesia_controller.erl')
0 files changed, 0 insertions, 0 deletions