Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/acl-dev/acl
/ start
Method
start
lib_acl_cpp/samples/master/master_http_rpc/gc_timer.cpp:19–23 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
17
}
18
19
void gc_timer::start(int delay)
20
{
21
// 设置定时器,将秒转换为微妙
22
handle_.set_timer(this, delay * 1000000);
23
}
24
25
void gc_timer::stop()
26
{
Callers
2
proc_on_init
Method · 0.45
proc_on_init
Method · 0.45
Calls
1
set_timer
Method · 0.80
Tested by
no test coverage detected