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 --- tests/hwm.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/hwm.cpp') diff --git a/tests/hwm.cpp b/tests/hwm.cpp index e3faa6c..f93dcd9 100644 --- a/tests/hwm.cpp +++ b/tests/hwm.cpp @@ -24,7 +24,7 @@ int XS_TEST_MAIN () { fprintf (stderr, "hwm test running...\n"); - void *ctx = xs_init (1); + void *ctx = xs_init (); assert (ctx); // Create pair of socket, each with high watermark of 2. Thus the total -- cgit v1.2.3