summaryrefslogtreecommitdiff
path: root/perf
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2012-03-13 11:10:33 +0100
committerMartin Sustrik <sustrik@250bpm.com>2012-03-13 11:10:33 +0100
commit921da22147e201455837bcd38df1af33aceff26f (patch)
treee76e001ac65d4fa96ab89468e109db05978b7f70 /perf
parent224b7c7a816010fc0f781372051ec7c578af42a0 (diff)
io_threads argument removed from xs_init()
The argument was changed to a context option (XS_IO_THREADS). 0MQ compatibility mode sets the option and ensures that there's at least one I/O thread present. Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'perf')
-rw-r--r--perf/inproc_lat.cpp2
-rw-r--r--perf/inproc_thr.cpp2
-rw-r--r--perf/local_lat.cpp2
-rw-r--r--perf/local_thr.cpp2
-rw-r--r--perf/remote_lat.cpp2
-rw-r--r--perf/remote_thr.cpp2
6 files changed, 6 insertions, 6 deletions
diff --git a/perf/inproc_lat.cpp b/perf/inproc_lat.cpp
index 3c8334f..802c71a 100644
--- a/perf/inproc_lat.cpp
+++ b/perf/inproc_lat.cpp
@@ -123,7 +123,7 @@ int main (int argc, char *argv [])
message_size = atoi (argv [1]);
roundtrip_count = atoi (argv [2]);
- ctx = xs_init (1);
+ ctx = xs_init ();
if (!ctx) {
printf ("error in xs_init: %s\n", xs_strerror (errno));
return -1;
diff --git a/perf/inproc_thr.cpp b/perf/inproc_thr.cpp
index f3f07ad..de4b9ad 100644
--- a/perf/inproc_thr.cpp
+++ b/perf/inproc_thr.cpp
@@ -122,7 +122,7 @@ int main (int argc, char *argv [])
message_size = atoi (argv [1]);
message_count = atoi (argv [2]);
- ctx = xs_init (1);
+ ctx = xs_init ();
if (!ctx) {
printf ("error in xs_init: %s\n", xs_strerror (errno));
return -1;
diff --git a/perf/local_lat.cpp b/perf/local_lat.cpp
index f1f4881..ca6a1e3 100644
--- a/perf/local_lat.cpp
+++ b/perf/local_lat.cpp
@@ -44,7 +44,7 @@ int main (int argc, char *argv [])
message_size = atoi (argv [2]);
roundtrip_count = atoi (argv [3]);
- ctx = xs_init (1);
+ ctx = xs_init ();
if (!ctx) {
printf ("error in xs_init: %s\n", xs_strerror (errno));
return -1;
diff --git a/perf/local_thr.cpp b/perf/local_thr.cpp
index dd6057e..78c8930 100644
--- a/perf/local_thr.cpp
+++ b/perf/local_thr.cpp
@@ -47,7 +47,7 @@ int main (int argc, char *argv [])
message_size = atoi (argv [2]);
message_count = atoi (argv [3]);
- ctx = xs_init (1);
+ ctx = xs_init ();
if (!ctx) {
printf ("error in xs_init: %s\n", xs_strerror (errno));
return -1;
diff --git a/perf/remote_lat.cpp b/perf/remote_lat.cpp
index 7bb0c19..03efe73 100644
--- a/perf/remote_lat.cpp
+++ b/perf/remote_lat.cpp
@@ -48,7 +48,7 @@ int main (int argc, char *argv [])
message_size = atoi (argv [2]);
roundtrip_count = atoi (argv [3]);
- ctx = xs_init (1);
+ ctx = xs_init ();
if (!ctx) {
printf ("error in xs_init: %s\n", xs_strerror (errno));
return -1;
diff --git a/perf/remote_thr.cpp b/perf/remote_thr.cpp
index 00d5591..f78958c 100644
--- a/perf/remote_thr.cpp
+++ b/perf/remote_thr.cpp
@@ -45,7 +45,7 @@ int main (int argc, char *argv [])
message_size = atoi (argv [2]);
message_count = atoi (argv [3]);
- ctx = xs_init (1);
+ ctx = xs_init ();
if (!ctx) {
printf ("error in xs_init: %s\n", xs_strerror (errno));
return -1;