aboutsummaryrefslogtreecommitdiff
path: root/tests/inproc.c
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2017-08-04 17:17:42 -0700
committerGarrett D'Amore <garrett@damore.org>2017-08-04 21:20:00 -0700
commitdc334d7193a2a0bc0194221b853a37e1be7f5b9a (patch)
tree1eebf2773745a3a25e8a071fbe4f51cd5490d4e4 /tests/inproc.c
parent6887900ae033add30ee0151b72abe927c5239588 (diff)
downloadnng-dc334d7193a2a0bc0194221b853a37e1be7f5b9a.tar.gz
nng-dc334d7193a2a0bc0194221b853a37e1be7f5b9a.tar.bz2
nng-dc334d7193a2a0bc0194221b853a37e1be7f5b9a.zip
Refactor AIO logic to close numerous races and reduce complexity.
This passes valgrind 100% clean for both helgrind and deep leak checks. This represents a complete rethink of how the AIOs work, and much simpler synchronization; the provider API is a bit simpler to boot, as a number of failure modes have been simply eliminated. While here a few other minor bugs were squashed.
Diffstat (limited to 'tests/inproc.c')
-rw-r--r--tests/inproc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/inproc.c b/tests/inproc.c
index 0d1cafbf..2afb1ae0 100644
--- a/tests/inproc.c
+++ b/tests/inproc.c
@@ -8,9 +8,8 @@
//
#include "convey.h"
-#include "trantest.h"
#include "core/nng_impl.h"
-
+#include "trantest.h"
// Inproc tests.