From fe3c9705072ac8cafecdf2ea6bca4c26f9464824 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Wed, 28 Jun 2017 23:07:28 -0700 Subject: Refactor stop again, closing numerous races (thanks valgrind!) --- src/core/aio.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/core/aio.h') diff --git a/src/core/aio.h b/src/core/aio.h index a5f78b3f..a290281f 100644 --- a/src/core/aio.h +++ b/src/core/aio.h @@ -87,4 +87,7 @@ extern void nni_aio_wait(nni_aio *); // and the amount of data transferred (if any). extern void nni_aio_finish(nni_aio *, int, size_t); +extern int nni_aio_start(nni_aio *, void (*)(nni_aio *), void *); +extern void nni_aio_stop(nni_aio *); + #endif // CORE_AIO_H -- cgit v1.2.3-70-g09d2