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 <[email protected]> wrote: > Hi Jigar, > > On Fri, Jun 1, 2012 at 3:55 PM, Jigar Gosar <[email protected]> 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 > [email protected] > http://lists.zeromq.org/mailman/listinfo/zeromq-dev -- Jigar Gosar _______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
