aboutsummaryrefslogtreecommitdiff
path: root/src/core/aio.h
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2017-03-06 01:12:00 -0800
committerGarrett D'Amore <garrett@damore.org>2017-03-06 01:12:00 -0800
commit44a6de38d240143ec2b4bb6f6457bae81271820a (patch)
tree0b0f330b515227f29d302d91f872c12e3d9a9395 /src/core/aio.h
parent884da789532be511245248206adb00696ae62d31 (diff)
downloadnng-44a6de38d240143ec2b4bb6f6457bae81271820a.tar.gz
nng-44a6de38d240143ec2b4bb6f6457bae81271820a.tar.bz2
nng-44a6de38d240143ec2b4bb6f6457bae81271820a.zip
Pair protocol now callback driven.
Diffstat (limited to 'src/core/aio.h')
-rw-r--r--src/core/aio.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/aio.h b/src/core/aio.h
index 80a3ac02..96b04857 100644
--- a/src/core/aio.h
+++ b/src/core/aio.h
@@ -55,7 +55,8 @@ extern int nni_aio_init(nni_aio *, nni_cb, void *);
// nni_aio_fini finalizes the aio, releasing resources (locks)
// associated with it. The caller is responsible for ensuring that any
-// associated I/O is unscheduled or complete.
+// associated I/O is unscheduled or complete. This is safe to call
+// on zero'd memory.
extern void nni_aio_fini(nni_aio *);
// nni_aio_result returns the result code (0 on success, or an NNG errno)