[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ns] timer...
Hi~
Could you explain this function - resched(delay)?
--- example ---------------------
void TcpAgent::set_rtx_timer()
{
rtx_timer_.resched(rtt_timeout());
}
---------------------------------
resched is defined
---------------------------------------
void TimerHandler::resched(double delay)
{
if (status_ == TIMER_PENDING)
_cancel();
_sched(delay);
status_ = TIMER_PENDING;
}
---------------------------------------
Thanks for any hints.
J...