[zeromq-dev] zmq_poll and fully asynchronous client-server

Jigar Gosar jigar.g at directi.com
Mon Jun 4 09:48:38 CEST 2012

thanks a lot, this really helps. I am bit worried about writing too
much data, but this can be easily handled.

On 2 June 2012 00:42, Paul Colomiets <paul at colomiets.name> wrote:
> Hi Jigar,
> On Fri, Jun 1, 2012 at 3:55 PM, Jigar Gosar <jigar.g at directi.com> wrote:
>> *  Java's "selector" has a wakeup method, which immediately returns
>> the "selector.select(10ms)"  blocking call. I need something similar
>> so as to be able to achieve the above goal.
> The exact equivalent to wakeup method is creating a pair of sockets.
> One you add to a poll and writing to other one will wake up that poll.
> You should use "inproc://" socket for the task, if you want to do that
> from another thread.
> --
> Paul
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Jigar Gosar

More information about the zeromq-dev mailing list