[zeromq-dev] messaging bus on Java, polling and interrupting threads

Pieter Hintjens ph at imatix.com
Wed Feb 16 19:59:49 CET 2011


On Wed, Feb 16, 2011 at 7:35 PM, Michael Kogan
<mkogan at semanticresearch.com> wrote:
> Thank you.
> I hope I am not missing some sort of a technique of using a poller to poll multiple sub sockets. Essentially, all I am doing is shuffling messages from the bus to WebSockets, and to do that, I currently have a thread pre subscriber (i.e. open WebSocket).

zmq_poll will poll on any number of sockets.

-Pieter



More information about the zeromq-dev mailing list