On Thu, Jan 22, 2015 at 03:28:24PM +0800, yewgang wrote:
> Thank you for your answers very much.
> 
> #############
> Actually I have add events I care about between poll_timer_wait and
> poll_block.
> 
> What I want is:
> if the event I care about happens, then wake up immediately;
> if the event I care about does not happens, then wake up after 1000ms;

That's easy, just add a poll_timer_wait(1000) and another call that
causes the code to wake up if your event happens.
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to