Hi,

On Thu, Sep 13, 2012 at 12:37 PM, Tejaswi, Saikrishna
<[email protected]> wrote:
> Can you kindly validate these changes  and see if there are any
> repercussions in sending the activate_read even if the reader_thread is
> active
>

AFAICS, you've made zeromq thousand times slower (speculating, no
benchmarks done). What you really need is:

1. Read all messages from input queue until EAGAIN is returned from
zmq_recv* call
2. Read all messages after each zmq_send* call

We are using libzmq with libev for years in zerogw
(http://zerogw.com), an I'm doubt something changed in zmq 3.2.
Zerogw isn't easiest piece of code to read, but it may help.

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

Reply via email to