diff options
| author | Garrett D'Amore <garrett@damore.org> | 2018-05-09 12:11:01 -0700 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2018-05-09 12:12:25 -0700 |
| commit | 7f7d4eee9a51cbe2088d465aa725aaf8f8424917 (patch) | |
| tree | d89f2761e9489b6e8e262d478d0321b6b1d0c5e7 /src/core/aio.h | |
| parent | cc12510e510bc8e7f1b6d9e3816c6779caeee46c (diff) | |
| download | nng-7f7d4eee9a51cbe2088d465aa725aaf8f8424917.tar.gz nng-7f7d4eee9a51cbe2088d465aa725aaf8f8424917.tar.bz2 nng-7f7d4eee9a51cbe2088d465aa725aaf8f8424917.zip | |
fixes #422 nng_aio_fini_cb() could go away
Diffstat (limited to 'src/core/aio.h')
| -rw-r--r-- | src/core/aio.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/core/aio.h b/src/core/aio.h index d23ddf5b..9b7ac46f 100644 --- a/src/core/aio.h +++ b/src/core/aio.h @@ -32,12 +32,6 @@ extern int nni_aio_init(nni_aio **, nni_cb, void *); // on zero'd memory. extern void nni_aio_fini(nni_aio *); -// nni_aio_fini_cb finalizes the aio WITHOUT waiting for it to complete. -// This is intended exclusively for finalizing an AIO from a completion -// callack for that AIO. It is important that the caller ensure that nothing -// else might be waiting for that AIO or using it. -extern void nni_aio_fini_cb(nni_aio *); - // nni_aio_stop cancels any unfinished I/O, running completion callbacks, // but also prevents any new operations from starting (nni_aio_start will // return NNG_ESTATE). This should be called before nni_aio_fini(). The |
