summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Lucina <mato@kotelna.sk>2010-06-08 13:09:13 +0200
committerMartin Lucina <mato@kotelna.sk>2010-06-08 13:25:34 +0200
commit267de4a37b447c585a3af45b18b4942fa85d0a0d (patch)
tree363daed1f497089b25f859bebc449e5930997148
parent811a48b1eec2bc97f33e86b9da366c20d6884f79 (diff)
Update to 0MQ 2.0.7 APIturbo
-rw-r--r--zmq-camera.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/zmq-camera.c b/zmq-camera.c
index 5c85f76..0849d50 100644
--- a/zmq-camera.c
+++ b/zmq-camera.c
@@ -414,9 +414,8 @@ int main (int argc, char *argv [])
sigfillset (&block_set);
pthread_sigmask (SIG_SETMASK, &block_set, NULL);
- /* Initialise 0MQ infrastructure for 3 application threads and
- a single I/O thread */
- ctx = zmq_init (3, 1, ZMQ_POLL);
+ /* Initialise 0MQ infrastructure with a single I/O thread */
+ ctx = zmq_init (1);
assert (ctx);
/* Create a ZMQ_SUB socket to receive signal events and start the