From 90a160b19a631774376e06334b047549b4264e85 Mon Sep 17 00:00:00 2001 From: "Staysail Systems, Inc." Date: Thu, 14 Sep 2023 01:13:18 -0700 Subject: fix errors in nng_aio_stop(3) --- man/tip/nng_aio_stop.3.html | 33 ++++++++++----------------------- 1 file 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)

The nng_aio_stop() function stops the asynchronous I/O operation associated with aio by aborting with NNG_ECANCELED, and then waits -for it to complete or to be completely aborted.

+for it to complete or to be completely aborted, and for the any +callback associated with the aio to have completed executing.

-

If an operation is in progress when this function is called, that operation -is canceled and the callback function is not allowed to run.

+

Further calls to +nng_aio_schedule() using this aio will fail with +NNG_ECLOSED.

-

If the callback function is already running when this function is called, -then it is allowed to complete before returning to the caller.

-
-
-

No new operations will be started on this aio.

-
-
- - - - - -
- - -Calling this function means that the operation may be aborted without -completing its callback function. -
+

It is safe to call this for an aio, even when no operation is currently +pending for it.

@@ -93,10 +79,11 @@ might attempt to reschedule additional operations.

SEE ALSO