The beginning of the guide makes it look like I should use ZMQ_PUSH and
ZMQ_PULL to implement a worker-thread pool.

   - taskvent: Parallel task ventilator in C<http://zguide.zeromq.org/page:all>
   - taskwork: Parallel task worker in C <http://zguide.zeromq.org/page:all>
   - tasksink: Parallel task sink in C <http://zguide.zeromq.org/page:all>

If however I implement this using threads and the inter-thread socket I get
EADDRINUSE when trying to bind on second worker thread.

This is exactly as in Figure 65 - The SImple Black Box Pattern ?

-- 
Steve-o
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to