aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/doc
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2016-11-23 12:16:25 +0100
committerBjörn Gustavsson <[email protected]>2016-11-23 12:16:25 +0100
commit480ddeaa1217411e07d694595e458a084c44b4f1 (patch)
treee9a4e6451e732559d46b86fb23dd1f356c114d2f /lib/kernel/doc
parent3c8ba27ed87707942c357ade1d1f2471700f4203 (diff)
parent9cac4f15d84a7682f17dee01c0ce4a12bac5d9ff (diff)
downloadotp-480ddeaa1217411e07d694595e458a084c44b4f1.tar.gz
otp-480ddeaa1217411e07d694595e458a084c44b4f1.tar.bz2
otp-480ddeaa1217411e07d694595e458a084c44b4f1.zip
Merge branch 'maint'
* maint: Update primary bootstrap document {yield/nb_yield}() limitation Suppress warnings from v3_kernel when inlining is turned on
Diffstat (limited to 'lib/kernel/doc')
-rw-r--r--lib/kernel/doc/src/rpc.xml16
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/kernel/doc/src/rpc.xml b/lib/kernel/doc/src/rpc.xml
index 5944e9321a..adec2d9520 100644
--- a/lib/kernel/doc/src/rpc.xml
+++ b/lib/kernel/doc/src/rpc.xml
@@ -88,6 +88,12 @@
to retrieve the value of evaluating <c>apply(<anno>Module</anno>,
<anno>Function</anno>, <anno>Args</anno>)</c> on node
<c><anno>Node</anno></c>.</p>
+ <note>
+ <p><seealso marker="#yield/1"><c>yield/1</c></seealso> and
+ <seealso marker="#nb_yield/1"><c>nb_yield/1,2</c></seealso>
+ must be called by the same process from which this function
+ was made otherwise they will never yield correctly.</p>
+ </note>
</desc>
</func>
@@ -299,6 +305,11 @@
the tuple <c>{value, <anno>Val</anno>}</c> when the computation is
finished, or <c>timeout</c> when <c><anno>Timeout</anno></c>
milliseconds has elapsed.</p>
+ <note>
+ <p>This function must be called by the same process from which
+ <seealso marker="#async_call/4"><c>async_call/4</c></seealso>
+ was made otherwise it will only return <c>timeout</c>.</p>
+ </note>
</desc>
</func>
@@ -407,6 +418,11 @@
If the answer is available, it is
returned immediately. Otherwise, the calling process is
suspended until the answer arrives from <c>Node</c>.</p>
+ <note>
+ <p>This function must be called by the same process from which
+ <seealso marker="#async_call/4"><c>async_call/4</c></seealso>
+ was made otherwise it will never return.</p>
+ </note>
</desc>
</func>
</funcs>