From dc334d7193a2a0bc0194221b853a37e1be7f5b9a Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Fri, 4 Aug 2017 17:17:42 -0700 Subject: 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. --- tests/compat_bug777.c | 1 - tests/inproc.c | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'tests') diff --git a/tests/compat_bug777.c b/tests/compat_bug777.c index dc1f54f3..7bd6fce5 100644 --- a/tests/compat_bug777.c +++ b/tests/compat_bug777.c @@ -29,7 +29,6 @@ int main (int argc, const char *argv[]) int sb; int sc1; int sc2; - char socket_address[128]; sb = test_socket (AF_SP, NN_PAIR); test_bind (sb, "inproc://pair"); 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. -- cgit v1.2.3-70-g09d2