diff options
author | Siri Hansen <[email protected]> | 2012-03-05 11:49:34 +0100 |
---|---|---|
committer | Siri Hansen <[email protected]> | 2012-03-05 11:49:34 +0100 |
commit | 30f47279844cc9d6d2b7cfb0a2014d11719d1931 (patch) | |
tree | b530886f60de4a098d0e8a7cde8c9e70804436c3 /lib/stdlib/doc/src | |
parent | 3b5986433fb9f62feffa117f5643d53a42ef7652 (diff) | |
parent | 096ed7e301ce16dfb69709d7001ea3d5f370c202 (diff) | |
download | otp-30f47279844cc9d6d2b7cfb0a2014d11719d1931.tar.gz otp-30f47279844cc9d6d2b7cfb0a2014d11719d1931.tar.bz2 otp-30f47279844cc9d6d2b7cfb0a2014d11719d1931.zip |
Merge branch 'maint'
Diffstat (limited to 'lib/stdlib/doc/src')
-rw-r--r-- | lib/stdlib/doc/src/supervisor.xml | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/lib/stdlib/doc/src/supervisor.xml b/lib/stdlib/doc/src/supervisor.xml index d1e62230bc..35f4f82264 100644 --- a/lib/stdlib/doc/src/supervisor.xml +++ b/lib/stdlib/doc/src/supervisor.xml @@ -399,10 +399,11 @@ child_spec() = {Id,StartFunc,Restart,Shutdown,Type,Modules} <c>SupRef</c>.</p> <p>If successful, the function returns <c>ok</c>. If the child specification identified by <c><anno>Id</anno></c> exists but - the corresponding child process is running, the function - returns <c>{error,running}</c>. If the child specification - identified by <c><anno>Id</anno></c> does not exist, the function returns - <c>{error,not_found}</c>.</p> + the corresponding child process is running or about to be restarted, + the function returns <c>{error,running}</c> or + <c>{error,restarting}</c> respectively. If the child specification + identified by <c><anno>Id</anno></c> does not exist, the function + returns <c>{error,not_found}</c>.</p> </desc> </func> <func> @@ -462,7 +463,8 @@ child_spec() = {Id,StartFunc,Restart,Shutdown,Type,Modules} </item> <item> <p><c><anno>Child</anno></c> - the pid of the corresponding child - process, or <c>undefined</c> if there is no such process.</p> + process, the atom <c>restarting</c> if the process is about to be + restarted or <c>undefined</c> if there is no such process.</p> </item> <item> <p><c><anno>Type</anno></c> - as defined in the child specification.</p> |