diff options
| author | Garrett D'Amore <garrett@damore.org> | 2017-07-18 19:52:08 -0700 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2017-07-18 19:52:08 -0700 |
| commit | 5fb832e06fd4ded6ccc45f943837fd374a9cea7a (patch) | |
| tree | 41c306c297911d740e92f38b98685207f77758c6 /src/core/aio.h | |
| parent | 3eb60946ae8b5ad7d8a95233ffe946432acdb837 (diff) | |
| download | nng-5fb832e06fd4ded6ccc45f943837fd374a9cea7a.tar.gz nng-5fb832e06fd4ded6ccc45f943837fd374a9cea7a.tar.bz2 nng-5fb832e06fd4ded6ccc45f943837fd374a9cea7a.zip | |
Fixes most of the raaces in posix; but at least one remains outstanding.
Apparently there are circumstances when a pipedesc may get orphaned form the
pollq. This triggers an assertion failure when it occurs. I am still
trying to understand how this can occur. Stay tuned.
Diffstat (limited to 'src/core/aio.h')
| -rw-r--r-- | src/core/aio.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/aio.h b/src/core/aio.h index 4f190aa1..ad5b560e 100644 --- a/src/core/aio.h +++ b/src/core/aio.h @@ -110,6 +110,7 @@ extern int nni_aio_list_active(nni_aio *); // prevent resources (new pipes for example) from accidentally leaking // during close operations. extern int nni_aio_finish(nni_aio *, int, size_t); +extern int nni_aio_finish_pipe(nni_aio *, int, void *); // nni_aio_cancel is used to cancel an operation. Any pending I/O or // timeouts are canceled if possible, and the callback will be returned |
