[zeromq-dev] differences in polling between device and non device fd's

snacktime snacktime at gmail.com
Thu Feb 16 21:41:10 CET 2012


I'm using a jruby gem that has it's own reactor, and monitors zeromq
file descriptors so you can send messages to the reactor via zeromq.
I'm running into a strange issue where the reactor is not getting
events from the fd.  It gets a couple then no more.  This happens to
me when using the queue device, but not when I just use req/rep or
push/pull.  Is there anything different about how devices monitor file
descriptors that could cause issues for external code that is
monitoring them?

At this point I'm assuming it's a bug in the jruby gem, but it would
be helpful to know if devices do something different in this area
before I go hacking on the jruby code.

Anyone have any insight into this?

Chris



More information about the zeromq-dev mailing list