MCPcopy Create free account
hub / github.com/caozhiyi/CppNet / GetTimerNum

Method GetTimerNum

net/Timer.cpp:109–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107}
108
109uint32_t CTimer::GetTimerNum() {
110 std::unique_lock<std::recursive_mutex> lock(_mutex);
111 return _timer_map.size();
112}
113
114void CTimer::_AddTimer(uint32_t interval, const base::CMemSharePtr<CTimerEvent>& t, uint64_t& id) {
115 _time.Now();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected