summaryrefslogtreecommitdiff
path: root/src/nng.c
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2018-03-12 15:13:47 -0700
committerGarrett D'Amore <garrett@damore.org>2018-03-12 15:13:47 -0700
commit2f1e799d1225b18e960d426d35b6a83fa80db86f (patch)
treef02c8fb94ede04586e005cc8905ba6ccae740a5d /src/nng.c
parent6ae722de957b33a3520e46a94bb1f970991a9a42 (diff)
downloadnng-2f1e799d1225b18e960d426d35b6a83fa80db86f.tar.gz
nng-2f1e799d1225b18e960d426d35b6a83fa80db86f.tar.bz2
nng-2f1e799d1225b18e960d426d35b6a83fa80db86f.zip
fixes #281 desire nng_sleep_aio()
Diffstat (limited to 'src/nng.c')
-rw-r--r--src/nng.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/nng.c b/src/nng.c
index 19b33220..4c2a58db 100644
--- a/src/nng.c
+++ b/src/nng.c
@@ -1039,6 +1039,12 @@ nng_aio_free(nng_aio *aio)
nni_aio_fini(aio);
}
+void
+nng_sleep_aio(nng_duration ms, nng_aio *aio)
+{
+ nni_sleep_aio(ms, aio);
+}
+
int
nng_aio_result(nng_aio *aio)
{