Searched refs:timerable (Results 1 – 2 of 2) sorted by relevance
49 bool CTimerMng::start_timer(CTimerNotify* timerable, uint32_t interval) in start_timer() argument51 if (!_heap || !timerable) { in start_timer()56 timerable->set_expired_time(now_ms + interval); in start_timer()57 int32_t ret = _heap->HeapPush(timerable); in start_timer()59 MTLOG_ERROR("timer start failed(%p), ret(%d)", timerable, ret); in start_timer()66 void CTimerMng::stop_timer(CTimerNotify* timerable) in stop_timer() argument68 if (!_heap || !timerable) { in stop_timer()72 _heap->HeapDelete(timerable); in stop_timer()
70 bool start_timer(CTimerNotify* timerable, uint32_t interval); 72 void stop_timer(CTimerNotify* timerable);