aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mnesia
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2019-01-22 12:22:37 +0100
committerSverker Eriksson <[email protected]>2019-01-22 12:22:37 +0100
commit71c276be5d0a4bf60158137ae3c2be970216429b (patch)
treeea1e772ad7440980eb31e7c53ca286518a641c7c /lib/mnesia
parent4940eef4e68e55f637c3addd40588d2733395a4a (diff)
parent9ab651e04c2e56bcd700288e01a73b601ec1d469 (diff)
downloadotp-71c276be5d0a4bf60158137ae3c2be970216429b.tar.gz
otp-71c276be5d0a4bf60158137ae3c2be970216429b.tar.bz2
otp-71c276be5d0a4bf60158137ae3c2be970216429b.zip
Merge branch 'maint'
Diffstat (limited to 'lib/mnesia')
-rw-r--r--lib/mnesia/doc/src/mnesia.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/mnesia/doc/src/mnesia.xml b/lib/mnesia/doc/src/mnesia.xml
index 94f1af34bf..11b0b8e987 100644
--- a/lib/mnesia/doc/src/mnesia.xml
+++ b/lib/mnesia/doc/src/mnesia.xml
@@ -2077,6 +2077,13 @@ mnesia:create_table(employee,
<fsummary>Starts a local Mnesia system.</fsummary>
<desc>
<marker id="start"></marker>
+ <p>Mnesia startup is asynchronous. The function call
+ <c>mnesia:start()</c> returns the atom <c>ok</c> and then
+ starts to initialize the different tables. Depending on the
+ size of the database, this can take some time, and the
+ application programmer must wait for the tables that the
+ application needs before they can be used. This is achieved
+ by using the function <c>mnesia:wait_for_tables/2</c>.</p>
<p>The startup procedure for a set of Mnesia nodes is a
fairly complicated operation. A Mnesia system consists
of a set of nodes, with Mnesia started locally on all