diff options
author | Gustav Simonsson <[email protected]> | 2012-02-24 14:59:12 +0100 |
---|---|---|
committer | Gustav Simonsson <[email protected]> | 2012-02-24 14:59:12 +0100 |
commit | 583585888569522b2380652c5cd4b7197f09523c (patch) | |
tree | 0bcfd6368bfc0db2fa258892f124032be9e3e693 /lib/stdlib/doc/src/supervisor_bridge.xml | |
parent | 738c6d54dde1e4c8f6030690eabe50a287301eb9 (diff) | |
parent | d9ee75fa3df8676deb92136c38b65e928cde196e (diff) | |
download | otp-583585888569522b2380652c5cd4b7197f09523c.tar.gz otp-583585888569522b2380652c5cd4b7197f09523c.tar.bz2 otp-583585888569522b2380652c5cd4b7197f09523c.zip |
Merge branch 'maint'
Diffstat (limited to 'lib/stdlib/doc/src/supervisor_bridge.xml')
-rw-r--r-- | lib/stdlib/doc/src/supervisor_bridge.xml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/stdlib/doc/src/supervisor_bridge.xml b/lib/stdlib/doc/src/supervisor_bridge.xml index c1a5e7947f..f6712d6c1d 100644 --- a/lib/stdlib/doc/src/supervisor_bridge.xml +++ b/lib/stdlib/doc/src/supervisor_bridge.xml @@ -63,6 +63,13 @@ If <c><anno>SupBridgeName</anno>={global,<anno>Name</anno>}</c> the supervisor_bridge is registered globally as <c><anno>Name</anno></c> using <c>global:register_name/2</c>. + If <c><anno>SupBridgeName</anno>={via,<anno>Module</anno>,<anno>Name</anno>}</c> the supervisor_bridge is + registered as <c><anno>Name</anno></c> using a registry represented + by <anno>Module</anno>. 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,GlobalName}</c> is a valid reference. If no name is provided, the supervisor_bridge is not registered. If there already exists a process with the specified <c><anno>SupBridgeName</anno></c> the function returns |