On Mon, Sep 6, 2010 at 11:45 AM, Brian Granger <[email protected]> wrote:

> On Sat, Sep 4, 2010 at 4:10 PM, Timothy Fitz <[email protected]>
> wrote:
> > For those of you looking for Twisted ZeroMQ integration, I've built out
> the
> > "Write a zmq_poll-based reactor" idea here:
> > http://github.com/TimothyFitz/ZMQReactor
> > It succeeds at it's goal: enable 0MQ integration with Twisted today.
> > It has the discussed drawbacks (slower than epoll, supplants other
> reactors
> > so it can't be used with, say, the gtkreactor), and one I didn't see
> > mentioned: It's broken on OS X because poll is broken on OS X.
>
> Hmmm, we are using zmq_poll on OS X regularly.  Can you say more about
> this?


I wrote a subclass of Twisted's PollReactor and it passed 100% of Twisted's
test suite on the first pass on Ubuntu. Exact same code passes most (all?)
pure-TCP tests on OS X, but dies on pseudo-terminals and non-TCP fds.

and this is from the poll manpage on OS X:

BUGS
     The poll() system call currently does not support devices.


>  > The goal is to use this to bootstrap interest / use cases / test
> coverage.
> > The plan is to migrate to a ZMQ_FD-based solution after 0MQ 2.0.9 is
> > released.
>
> I thought the ZMQ_FD stuff wouldn't show up until 2.1.x?


Yep. My mistake. I was looking at the master branch on github, which has
maint-branch commits merged back into it (including version number changes).
If you checkout the master branch today it looks like it's going to be
2.0.10 and it has ZMQ_FD support :)

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

Reply via email to