diff options
author | Hans Bolinder <[email protected]> | 2011-12-22 13:59:59 +0100 |
---|---|---|
committer | Hans Bolinder <[email protected]> | 2011-12-22 13:59:59 +0100 |
commit | f8afba0c65589a2215a9c01aa2b1302c96d056c5 (patch) | |
tree | b6be2d4e0966f1fc7306478bc501dc7584390f4d /lib/stdlib/doc/src | |
parent | 919565a8c1288cf56b0e421ca9fa4b53cac3910c (diff) | |
parent | c2743754c9189e66a3a70248703118d8e61b7701 (diff) | |
download | otp-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.xml | 13 |
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> |