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

Reply via email to