From 921da22147e201455837bcd38df1af33aceff26f Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Tue, 13 Mar 2012 11:10:33 +0100 Subject: 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 --- perf/local_thr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perf/local_thr.cpp') 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; -- cgit v1.2.3