diff options
| author | Garrett D'Amore <garrett@damore.org> | 2024-12-26 14:10:09 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2024-12-26 15:57:48 -0800 |
| commit | 1ad7f88e0c58285c9e1cad9448d5a1fcfa7a07f1 (patch) | |
| tree | 9d11c07a6f65d5f5a0fb2ba80d916ec8f75cc2d0 /src/core/aio.h | |
| parent | 07458cca6791b32215e28c4ac501630ca059e463 (diff) | |
| download | nng-1ad7f88e0c58285c9e1cad9448d5a1fcfa7a07f1.tar.gz nng-1ad7f88e0c58285c9e1cad9448d5a1fcfa7a07f1.tar.bz2 nng-1ad7f88e0c58285c9e1cad9448d5a1fcfa7a07f1.zip | |
aio: nng_aio_defer replaced by nng_aio_start
This represents an API change, and we remove the nng_aio_begin
function as well, introducing the lightweight nng_aio_reset instead.
Diffstat (limited to 'src/core/aio.h')
| -rw-r--r-- | src/core/aio.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/core/aio.h b/src/core/aio.h index d909853f..5346d19b 100644 --- a/src/core/aio.h +++ b/src/core/aio.h @@ -170,11 +170,6 @@ extern void nni_aio_bump_count(nni_aio *, size_t); // cannot be canceled, which can lead to apparent hangs. extern int nni_aio_schedule(nni_aio *, nni_aio_cancel_fn, void *); -// nni_aio_defer is just like nni_io_schedule, but it also calls the callback -// automatically if the operation cannot be started because the AIO is stopped -// or was canceled before this call (but after nni_aio_begin). -extern bool nni_aio_defer(nni_aio *, nni_aio_cancel_fn, void *); - // nni_aio_reset is called by providers before doing any work -- it resets // counts other fields to their initial state. It will not reset the closed // state if the aio has been stopped or closed. |
