aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/doc/src/application.xml
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2013-03-12 16:57:44 +0100
committerBjörn-Egil Dahlberg <[email protected]>2013-03-12 16:57:44 +0100
commit4955bf98ead49b0c7122ab30e462f9b817bd5c6e (patch)
tree077db4ce10c5ef45657c908b4f11ec61bf94ae99 /lib/kernel/doc/src/application.xml
parent6e445498dfa736090f3080484204b65a1ca25703 (diff)
parent7bfa1947ba60d61fd1bb8040f435e4dcaefac32a (diff)
downloadotp-4955bf98ead49b0c7122ab30e462f9b817bd5c6e.tar.gz
otp-4955bf98ead49b0c7122ab30e462f9b817bd5c6e.tar.bz2
otp-4955bf98ead49b0c7122ab30e462f9b817bd5c6e.zip
Merge branch 'egil/kernel/application-ensure_started/OTP-10910' into maint
* egil/kernel/application-ensure_started/OTP-10910: kernel: Document application:ensure_started/1,2 tests: Refactor away ?line macro in test suite kernel: Tests for application:ensure_started/1,2 kernel: Add application:ensure_started/1,2
Diffstat (limited to 'lib/kernel/doc/src/application.xml')
-rw-r--r--lib/kernel/doc/src/application.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/kernel/doc/src/application.xml b/lib/kernel/doc/src/application.xml
index 697de6681f..362c373c6c 100644
--- a/lib/kernel/doc/src/application.xml
+++ b/lib/kernel/doc/src/application.xml
@@ -253,6 +253,15 @@ Nodes = [cp1@cave, {cp2@cave, cp3@cave}]</code>
</warning>
</desc>
</func>
+ <func>
+ <name name="ensure_started" arity="1"/>
+ <name name="ensure_started" arity="2"/>
+ <fsummary>Load and start an application</fsummary>
+ <desc>
+ <p>Equivalent to <seealso marker="#start/2"><c>application:start/1,2</c></seealso> except
+ it returns <c>ok</c> for already started applications.</p>
+ </desc>
+ </func>
<func>
<name name="start" arity="1"/>
<name name="start" arity="2"/>