From 50a8b9ea0c4a819073b46449dee8fc839b837ae5 Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Sun, 20 Sep 2009 10:14:21 +0200 Subject: 'flags' parameter added to zmq_init --- perf/c/local_lat.c | 2 +- perf/c/local_thr.c | 2 +- perf/c/remote_lat.c | 2 +- perf/c/remote_thr.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'perf/c') diff --git a/perf/c/local_lat.c b/perf/c/local_lat.c index 86d4721..2cbae13 100644 --- a/perf/c/local_lat.c +++ b/perf/c/local_lat.c @@ -42,7 +42,7 @@ int main (int argc, char *argv []) message_size = atoi (argv [2]); roundtrip_count = atoi (argv [3]); - ctx = zmq_init (1, 1); + ctx = zmq_init (1, 1, 0); assert (ctx); s = zmq_socket (ctx, ZMQ_REP); diff --git a/perf/c/local_thr.c b/perf/c/local_thr.c index 9b94330..f9ab720 100644 --- a/perf/c/local_thr.c +++ b/perf/c/local_thr.c @@ -45,7 +45,7 @@ int main (int argc, char *argv []) message_size = atoi (argv [2]); message_count = atoi (argv [3]); - ctx = zmq_init (1, 1); + ctx = zmq_init (1, 1, 0); assert (ctx); s = zmq_socket (ctx, ZMQ_SUB); diff --git a/perf/c/remote_lat.c b/perf/c/remote_lat.c index 15dfc46..52aa071 100644 --- a/perf/c/remote_lat.c +++ b/perf/c/remote_lat.c @@ -46,7 +46,7 @@ int main (int argc, char *argv []) message_size = atoi (argv [2]); roundtrip_count = atoi (argv [3]); - ctx = zmq_init (1, 1); + ctx = zmq_init (1, 1, 0); assert (ctx); s = zmq_socket (ctx, ZMQ_REQ); diff --git a/perf/c/remote_thr.c b/perf/c/remote_thr.c index 8814e0f..fb685cd 100644 --- a/perf/c/remote_thr.c +++ b/perf/c/remote_thr.c @@ -42,7 +42,7 @@ int main (int argc, char *argv []) message_size = atoi (argv [2]); message_count = atoi (argv [3]); - ctx = zmq_init (1, 1); + ctx = zmq_init (1, 1, 0); assert (ctx); s = zmq_socket (ctx, ZMQ_PUB); -- cgit v1.2.3