Hi Gerhard,

On Wed, May 2, 2012 at 10:11 AM, Gerhard Lipp <[email protected]> wrote:
> hello paul!
>
> i dont understand the background of your approach. why should the src
> fd's io handler check the dst's events (and vice versa)?

It's the simplest way I've found to solve a problem.

> even if this worked in this scenario, wouldn't it be a coincidence?

No, it's not coincidence.

> well, at least it is better than busy waiting / polling ...

Yes. There are various way to optimize presented code, I've
just picked up something on to of my head.

On Wed, May 2, 2012 at 11:26 AM, Gerhard Lipp <[email protected]> wrote:
> btw, using the build in poller just works:

Yes the builtin poller works in intuitive way.
ZMQ_FD is meant for experts. So if you don't
understand how it works, you can just use
builtin poller without the problems.

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

Reply via email to