MCPcopy Create free account
hub / github.com/acl-dev/acl / timer_callback

Method timer_callback

app/master/tools/master_dispatch/server/server/ServerTimer.cpp:11–15  ·  view source on GitHub ↗

该定时器的回调函数运行在主线程线程空间

Source from the content-addressed store, hash-verified

9
10// 该定时器的回调函数运行在主线程线程空间
11void ServerTimer::timer_callback(unsigned int)
12{
13 // 在定时器中定时统计服务端的负载情况
14 ServerManager::get_instance().buildStatus();
15}

Callers

nothing calls this directly

Calls 1

buildStatusMethod · 0.80

Tested by

no test coverage detected