aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/doc/src
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2011-12-22 13:59:59 +0100
committerHans Bolinder <[email protected]>2011-12-22 13:59:59 +0100
commitf8afba0c65589a2215a9c01aa2b1302c96d056c5 (patch)
treeb6be2d4e0966f1fc7306478bc501dc7584390f4d /lib/stdlib/doc/src
parent919565a8c1288cf56b0e421ca9fa4b53cac3910c (diff)
parentc2743754c9189e66a3a70248703118d8e61b7701 (diff)
downloadotp-f8afba0c65589a2215a9c01aa2b1302c96d056c5.tar.gz
otp-f8afba0c65589a2215a9c01aa2b1302c96d056c5.tar.bz2
otp-f8afba0c65589a2215a9c01aa2b1302c96d056c5.zip
Merge branch 'maint'
* maint: Check that sys.config and relup have valid content when added to tar Reject systools:make_script if kernel and stdlib are not permanent in .rel Don't save child spec for temporary child if child's start func returns ignore Generate links in C libraries correctly
Diffstat (limited to 'lib/stdlib/doc/src')
-rw-r--r--lib/stdlib/doc/src/supervisor.xml13
1 files changed, 3 insertions, 10 deletions
diff --git a/lib/stdlib/doc/src/supervisor.xml b/lib/stdlib/doc/src/supervisor.xml
index cddb55e5c5..33a7f5bb6a 100644
--- a/lib/stdlib/doc/src/supervisor.xml
+++ b/lib/stdlib/doc/src/supervisor.xml
@@ -127,25 +127,18 @@ child_spec() = {Id,StartFunc,Restart,Shutdown,Type,Modules}
<p><c>StartFunc</c> defines the function call used to start
the child process. It should be a module-function-arguments
tuple <c>{M,F,A}</c> used as <c>apply(M,F,A)</c>.</p>
- <p> <br></br>
-</p>
<p>The start function <em>must create and link to</em> the child
process, and should return <c>{ok,Child}</c> or
<c>{ok,Child,Info}</c> where <c>Child</c> is the pid of
the child process and <c>Info</c> an arbitrary term which is
ignored by the supervisor.</p>
- <p> <br></br>
-</p>
<p>The start function can also return <c>ignore</c> if the child
process for some reason cannot be started, in which case
- the child specification will be kept by the supervisor but
- the non-existing child process will be ignored.</p>
- <p> <br></br>
-</p>
+ the child specification will be kept by the supervisor
+ (unless it is a temporary child) but the non-existing child
+ process will be ignored.</p>
<p>If something goes wrong, the function may also return an
error tuple <c>{error,Error}</c>.</p>
- <p> <br></br>
-</p>
<p>Note that the <c>start_link</c> functions of the different
behaviour modules fulfill the above requirements.</p>
</item>