diff options
author | Hans Bolinder <[email protected]> | 2014-03-05 15:25:37 +0100 |
---|---|---|
committer | Hans Bolinder <[email protected]> | 2014-03-05 15:25:37 +0100 |
commit | 4a28c972a710461568f4e610dffc09de221aaa44 (patch) | |
tree | 1b1439959f0b1173cfe268d8d1bbb9b73be75358 /lib/stdlib/doc/src | |
parent | e081f968edbf54e5b056c850efc6f5ca26b75db6 (diff) | |
parent | aab8156f22f62c11bbd0cf83d40be385c6411b3d (diff) | |
download | otp-4a28c972a710461568f4e610dffc09de221aaa44.tar.gz otp-4a28c972a710461568f4e610dffc09de221aaa44.tar.bz2 otp-4a28c972a710461568f4e610dffc09de221aaa44.zip |
Merge branch 'hb/stdlib/spec_fixes/OTP-11399'
* hb/stdlib/spec_fixes/OTP-11399:
stdlib: Improve the doc of the supervisor's via reference
Diffstat (limited to 'lib/stdlib/doc/src')
-rw-r--r-- | lib/stdlib/doc/src/supervisor.xml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/stdlib/doc/src/supervisor.xml b/lib/stdlib/doc/src/supervisor.xml index 8197684d2d..3a5027d595 100644 --- a/lib/stdlib/doc/src/supervisor.xml +++ b/lib/stdlib/doc/src/supervisor.xml @@ -4,7 +4,7 @@ <erlref> <header> <copyright> - <year>1996</year><year>2013</year> + <year>1996</year><year>2014</year> <holder>Ericsson AB. All Rights Reserved.</holder> </copyright> <legalnotice> @@ -262,12 +262,12 @@ child_spec() = {Id,StartFunc,Restart,Shutdown,Type,Modules} locally as <c>Name</c> using <c>register/2</c>. If <c><anno>SupName</anno>={global,Name}</c> the supervisor is registered globally as <c>Name</c> using <c>global:register_name/2</c>. If - <c><anno>SupName</anno>={via,Module,Name}</c> the supervisor + <c><anno>SupName</anno>={via,<anno>Module</anno>,<anno>Name</anno>}</c> the supervisor is registered as <c>Name</c> using the registry represented by <c>Module</c>. The <c>Module</c> callback should export the functions <c>register_name/2</c>, <c>unregister_name/1</c> and <c>send/2</c>, which should behave like the corresponding functions in <c>global</c>. - Thus, <c>{via,global,Name}</c> is a valid reference.</p> + Thus, <c>{via,global,<anno>Name</anno>}</c> is a valid reference.</p> <p>If no name is provided, the supervisor is not registered.</p> <p><c><anno>Module</anno></c> is the name of the callback module.</p> <p><c><anno>Args</anno></c> is an arbitrary term which is passed as |