diff options
author | Henrik Nord <[email protected]> | 2014-11-20 10:34:38 +0100 |
---|---|---|
committer | Henrik Nord <[email protected]> | 2014-11-20 10:34:38 +0100 |
commit | a881aaf73a7c0f102175aa837679c62976575fa1 (patch) | |
tree | 855e3e87036ed44f392a1a6abfe721c4e7263031 /lib/stdlib/doc/src | |
parent | 91be6bd0aa5f5077506208dade8952bca8434aea (diff) | |
parent | cb372c96f3449cfca69e2737fa3d4503fa24444a (diff) | |
download | otp-a881aaf73a7c0f102175aa837679c62976575fa1.tar.gz otp-a881aaf73a7c0f102175aa837679c62976575fa1.tar.bz2 otp-a881aaf73a7c0f102175aa837679c62976575fa1.zip |
Merge branch 'maint'
Diffstat (limited to 'lib/stdlib/doc/src')
-rw-r--r-- | lib/stdlib/doc/src/io_protocol.xml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/stdlib/doc/src/io_protocol.xml b/lib/stdlib/doc/src/io_protocol.xml index 9328704e11..d6da205f07 100644 --- a/lib/stdlib/doc/src/io_protocol.xml +++ b/lib/stdlib/doc/src/io_protocol.xml @@ -76,10 +76,11 @@ the server eventually sends a corresponding <c>io_reply</c> tuple.</p> the I/O server sends the IO reply to.</item> <item><c>ReplyAs</c> can be any datum and is returned in the corresponding -<c>io_reply</c>. The <seealso marker="stdlib:io">io</seealso> module simply uses the pid() -of the I/O server as the <c>ReplyAs</c> datum, but a more complicated client +<c>io_reply</c>. The <seealso marker="stdlib:io">io</seealso> module monitors +the I/O server, and uses the monitor reference as the <c>ReplyAs</c> datum. +A more complicated client could have several outstanding I/O requests to the same I/O server and -would then use i.e. a <c>reference()</c> or something else to differentiate among +would then use different references (or something else) to differentiate among the incoming IO replies. The <c>ReplyAs</c> element should be considered opaque by the I/O server. Note that the <c>pid()</c> of the I/O server is not explicitly present in the <c>io_reply</c> tuple. The reply can be sent from any |