From 35f980b6fd5fa21181f307d49baf1e2ce01a2b7a Mon Sep 17 00:00:00 2001 From: Aleksa Stojanovic Date: Mon, 7 Jan 2019 19:18:34 +0100 Subject: Specify that mnesia:start/0 is async --- lib/mnesia/doc/src/mnesia.xml | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'lib') 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, Starts a local Mnesia system. +

Mnesia startup is asynchronous. The function call + mnesia:start() returns the atom ok 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 mnesia:wait_for_tables/2.

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 -- cgit v1.2.3 From ed6c460b9916f1e598869cfd76b43c57bd112137 Mon Sep 17 00:00:00 2001 From: Sverker Eriksson Date: Tue, 15 Jan 2019 16:41:55 +0100 Subject: Fix "since" for all multi clause functions This is the result of going through all .xml files with "clause_i" attributes and make sure their "since" versions are correct. --- lib/common_test/doc/src/ct_netconfc.xml | 14 +++++++------- lib/kernel/doc/src/gen_sctp.xml | 2 +- lib/stdlib/doc/src/io_lib.xml | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) (limited to 'lib') diff --git a/lib/common_test/doc/src/ct_netconfc.xml b/lib/common_test/doc/src/ct_netconfc.xml index 32a1175d81..8fbe5f3df6 100644 --- a/lib/common_test/doc/src/ct_netconfc.xml +++ b/lib/common_test/doc/src/ct_netconfc.xml @@ -412,11 +412,11 @@ - create_subscription(Client) -> Result - create_subscription(Client, Stream) -> Result - create_subscription(Client, Stream, Filter) -> Result - create_subscription(Client, Stream, Filter, Timeout) -> Result - + create_subscription(Client) -> Result + create_subscription(Client, Stream) -> Result + create_subscription(Client, Stream, Filter) -> Result + create_subscription(Client, Stream, Filter, Timeout) -> Result + Creates a subscription for event notifications. @@ -515,7 +515,7 @@ create_subscription(Client, Stream, Filter, StartTime, StopTime, Timeout) - + Edits configuration data. @@ -599,7 +599,7 @@ create_subscription(Client, Stream, Filter, StartTime, StopTime, Timeout) - + Sends a request to get the specified event streams. diff --git a/lib/kernel/doc/src/gen_sctp.xml b/lib/kernel/doc/src/gen_sctp.xml index 1e7009b3a8..f70d6c24db 100644 --- a/lib/kernel/doc/src/gen_sctp.xml +++ b/lib/kernel/doc/src/gen_sctp.xml @@ -284,7 +284,7 @@ connect(Socket, Ip, Port>, - + Set up a socket to listen.

Sets up a socket to listen on the IP address and port number diff --git a/lib/stdlib/doc/src/io_lib.xml b/lib/stdlib/doc/src/io_lib.xml index cd4ca0a3a7..4d527f8ed3 100644 --- a/lib/stdlib/doc/src/io_lib.xml +++ b/lib/stdlib/doc/src/io_lib.xml @@ -385,7 +385,7 @@ - + Write a term.

Returns a character list that represents Term. -- cgit v1.2.3