summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStaysail Systems, Inc. <info@staysail.tech>2023-09-14 01:13:18 -0700
committerStaysail Systems, Inc. <info@staysail.tech>2023-09-14 01:13:18 -0700
commit90a160b19a631774376e06334b047549b4264e85 (patch)
tree2726e65b3c77e73fa8565b3235758a8f1460279e
parentc3f3ef95a479d3750f00f42e26eb283fb5c0cfe9 (diff)
downloadnng-90a160b19a631774376e06334b047549b4264e85.tar.gz
nng-90a160b19a631774376e06334b047549b4264e85.tar.bz2
nng-90a160b19a631774376e06334b047549b4264e85.zip
fix errors in nng_aio_stop(3)
-rw-r--r--man/tip/nng_aio_stop.3.html33
1 files changed, 10 insertions, 23 deletions
diff --git a/man/tip/nng_aio_stop.3.html b/man/tip/nng_aio_stop.3.html
index 10af9899..301b4f5f 100644
--- a/man/tip/nng_aio_stop.3.html
+++ b/man/tip/nng_aio_stop.3.html
@@ -30,31 +30,17 @@ title: nng_aio_stop(3)
<div class="paragraph">
<p>The <code>nng_aio_stop()</code> function stops the asynchronous I/O operation
associated with <em>aio</em> by aborting with <code>NNG_ECANCELED</code>, and then waits
-for it to complete or to be completely aborted.</p>
+for it to complete or to be completely aborted, and for the any
+callback associated with the <em>aio</em> to have completed executing.</p>
</div>
<div class="paragraph">
-<p>If an operation is in progress when this function is called, that operation
-is canceled and the callback function is <em>not</em> allowed to run.</p>
+<p>Further calls to
+<a href="nng_aio_schedule.3.html"><code>nng_aio_schedule()</code></a> using this <em>aio</em> will fail with
+<code>NNG_ECLOSED</code>.</p>
</div>
<div class="paragraph">
-<p>If the callback function is already running when this function is called,
-then it is allowed to complete before returning to the caller.</p>
-</div>
-<div class="paragraph">
-<p>No new operations will be started on this <em>aio</em>.</p>
-</div>
-<div class="admonitionblock note">
-<table>
-<tr>
-<td class="icon">
-<i class="fa icon-note" title="Note"></i>
-</td>
-<td class="content">
-Calling this function means that the operation may be aborted without
-completing its callback function.
-</td>
-</tr>
-</table>
+<p>It is safe to call this for an <em>aio</em>, even when no operation is currently
+pending for it.</p>
</div>
<div class="admonitionblock tip">
<table>
@@ -93,10 +79,11 @@ might attempt to reschedule additional operations.
<h2 id="_see_also">SEE ALSO</h2>
<div class="sectionbody">
<div class="paragraph text-left">
-<p><a href="nng_aio_cancel.3.html">nng_aio_cancel(3)</a>,
+<p><a href="nng_aio_alloc.3.html">nng_aio_alloc(3)</a>,
+<a href="nng_aio_cancel.3.html">nng_aio_cancel(3)</a>,
<a href="nng_aio_free.3.html">nng_aio_free(3)</a>,
+<a href="nng_aio_schedule.3.html">nng_aio_schedule(3)</a>,
<a href="nng_aio_wait.3.html">nng_aio_wait(3)</a>,
-<a href="nng_aio_alloc.3.html">nng_aio_alloc(3)</a>,
<a href="nng_aio.5.html">nng_aio(5)</a>,
<a href="nng.7.html">nng(7)</a></p>
</div>