updates
This commit is contained in:
parent
c8f56b8b52
commit
63ff276544
3 changed files with 4 additions and 3 deletions
|
@ -25,7 +25,8 @@ void *worker_routine (void *arg)
|
|||
}
|
||||
|
||||
int main(int ac, char** av) {
|
||||
zmq::context_t ctx (1);
|
||||
int threads = 5;
|
||||
zmq::context_t ctx (threads);
|
||||
|
||||
zmq::socket_t workers (ctx, ZMQ_XREQ);
|
||||
workers.bind ("inproc://workers");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue