diff options
| author | Garrett D'Amore <garrett@damore.org> | 2018-02-20 19:41:55 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2018-02-20 19:41:55 -0800 |
| commit | fd871e6ce9de54f81f00918d4c7e3f3f4336b6d3 (patch) | |
| tree | f7758c6430a696f797763d21d5a3d53ea950b561 /tests/scalability.c | |
| parent | 03b9fab6cbf8374aca5f5daa2b5b030bcc4cbb85 (diff) | |
| download | nng-fd871e6ce9de54f81f00918d4c7e3f3f4336b6d3.tar.gz nng-fd871e6ce9de54f81f00918d4c7e3f3f4336b6d3.tar.bz2 nng-fd871e6ce9de54f81f00918d4c7e3f3f4336b6d3.zip | |
Introduce 'porting layer' Public API.
This introduces portable primitives for time, random numbers,
synchronization primitives, and threading. These are somewhat
primitive (least common denominiators), but they can help with writing
portable applications, especially our own demo apps.
Diffstat (limited to 'tests/scalability.c')
| -rw-r--r-- | tests/scalability.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/scalability.c b/tests/scalability.c index 9695c53c..84395f9d 100644 --- a/tests/scalability.c +++ b/tests/scalability.c @@ -13,6 +13,7 @@ #include "protocol/reqrep0/rep.h" #include "protocol/reqrep0/req.h" +#include "supplemental/util/platform.h" #include "stubs.h" #include <string.h> @@ -21,7 +22,7 @@ static int nclients = 200; static char *addr = "inproc:///atscale"; nng_socket rep; -void * server; +nng_thread *server; void serve(void *arg) |
