diff options
author | Martin Sustrik <sustrik@fastmq.commkdir> | 2009-09-20 10:14:21 +0200 |
---|---|---|
committer | Martin Sustrik <sustrik@fastmq.commkdir> | 2009-09-20 10:14:21 +0200 |
commit | 50a8b9ea0c4a819073b46449dee8fc839b837ae5 (patch) | |
tree | a1effc887ebb0e824959b114dd0ed67e788d0507 /perf/c | |
parent | edecf75b611cf0e6b1c2658846cff013434edad4 (diff) |
'flags' parameter added to zmq_init
Diffstat (limited to 'perf/c')
-rw-r--r-- | perf/c/local_lat.c | 2 | ||||
-rw-r--r-- | perf/c/local_thr.c | 2 | ||||
-rw-r--r-- | perf/c/remote_lat.c | 2 | ||||
-rw-r--r-- | perf/c/remote_thr.c | 2 |
4 files changed, 4 insertions, 4 deletions
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); |