enhance(API): Add multi-threaded call
Change-Id: I2d7c9abd2aabe4c2f05ba0935acaeb4f3fd8bb94
Signed-off-by: E. Scott Daniels <daniels@research.att.com>
Tweaks to call based on testing
Change-Id: I2cda8652ba045bf411bda77e64d2a92de8d2c0f2
Signed-off-by: E. Scott Daniels <daniels@research.att.com>
Add nng call static module
Change-Id: I5e964078ae346b25cc283ea32239271ea69fa55e
Signed-off-by: E. Scott Daniels <daniels@research.att.com>
Add locking round connect
Change-Id: Icf7a9c691385f199107b746c34c32f8f83b1ef04
Signed-off-by: E. Scott Daniels <daniels@research.att.com>
Tweaks based on testing; move mtrcv to static module
Change-Id: I75c38a9eeb34991da92fdb6f655b11d7f600d8a8
Signed-off-by: E. Scott Daniels <daniels@research.att.com>
Unit test changes
Change-Id: I7c1d3dcbe8802ce459a63b762c3ad3b8abeb7a61
Signed-off-by: E. Scott Daniels <daniels@research.att.com>
Beef up unit tests to passing after discount, all >70% before discount
Change-Id: I0e34052c142cfea77053512aac68008c3af49694
Signed-off-by: E. Scott Daniels <daniels@research.att.com>
Update application oriented tests to include mt-call
Change-Id: I0939abf96008ed7fde9640a070d09e683c0d5dea
Signed-off-by: E. Scott Daniels <daniels@research.att.com>
Fix possible nil pointer problem
Change-Id: I55e911761d54b9fc7500c121de018b485913763e
Signed-off-by: E. Scott Daniels <daniels@research.att.com>
Tweaks resulting from testing
Change-Id: Iaa6fb4d2719a39dbe209e17cc793c2341a477043
Signed-off-by: E. Scott Daniels <daniels@research.att.com>
Add info message to make it obvious when mt-receive is enabled
Change-Id: I6dd3cd5ad01d5cf2a09dda87ce6fdd0bc5a4670c
Signed-off-by: E. Scott Daniels <daniels@research.att.com>
Add man pages for new mt functions
Change-Id: Ia52e5d71502bcebe6af65024602dc32ca8877b52
Signed-off-by: E. Scott Daniels <daniels@research.att.com>
Add man pages to CMake
Change-Id: I60ff3a753d9249c8797d9141dd3ce2b5b55752b8
Signed-off-by: E. Scott Daniels <daniels@research.att.com>
Update CM version
Change-Id: I9e0f031f4e8a0ccba8ae7c788a6d9bc6dcb0f15b
Signed-off-by: E. Scott Daniels <daniels@research.att.com>
diff --git a/test/rmr_nng_test.c b/test/rmr_nng_test.c
index 5dbeb21..1a8df89 100644
--- a/test/rmr_nng_test.c
+++ b/test/rmr_nng_test.c
@@ -51,6 +51,8 @@
#include <stdint.h>
#include <ctype.h>
#include <sys/epoll.h>
+#include <pthread.h>
+#include <semaphore.h>
#define DEBUG 1
@@ -64,14 +66,14 @@
#include "test_nng_em.c" // nng/nn emulation (before including things under test)
-#include "../src/common/include/rmr.h" // things the users see
-#include "../src/common/include/rmr_symtab.h"
-#include "../src/common/include/rmr_agnostic.h" // transport agnostic header
-#include "../src/nng/include/rmr_nng_private.h" // transport specific
+#include "rmr.h" // things the users see
+#include "rmr_symtab.h"
+#include "rmr_agnostic.h" // transport agnostic header
+#include "rmr_nng_private.h" // transport specific
-#include "../src/common/src/symtab.c"
-#include "../src/nng/src/rmr_nng.c"
-#include "../src/common/src/mbuf_api.c"
+#include "symtab.c"
+#include "rmr_nng.c"
+#include "mbuf_api.c"
static void gen_rt( uta_ctx_t* ctx ); // defined in sr_nng_static_test, but used by a few others (eliminate order requirement below)