Bhupesh,

Yes. Only caveat is if the handleIdleTime call takes more time than what is
left for next end window, it is simply going to delay the endWindow until
after the call is completed.

Regards,
Ashwin.

On Wed, Sep 2, 2015 at 11:51 AM, Bhupesh Chawda <[email protected]>
wrote:

> So basically, I can process anything in handleidletime() without worrying
> about how much time it will take. Even if it takes longer than SPIN_MILLIS.
> However, if it takes less than that, or no time at all, then it's better to
> sleep to avoid busy loop.
>



-- 

Regards,
Ashwin.

Reply via email to