diff options
author | Martin Lucina <mato@kotelna.sk> | 2010-06-08 13:09:13 +0200 |
---|---|---|
committer | Martin Lucina <mato@kotelna.sk> | 2010-06-08 13:09:13 +0200 |
commit | 8cee253060ad92f58d94d1cab37960d43728b8b6 (patch) | |
tree | bc70388d989d93d5e8fbb50bcb3e9c1a06b571ab | |
parent | 9bbe724dc978c8f6f650bef54678d5588a77428a (diff) |
-rw-r--r-- | zmq-camera.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/zmq-camera.c b/zmq-camera.c index 5123553..a86ce26 100644 --- a/zmq-camera.c +++ b/zmq-camera.c @@ -401,9 +401,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 |