Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/brpc
/ schedule
Method
schedule
test/bthread_timer_thread_unittest.cpp:43–46 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
41
: _expect_run_time(run_time), _name(name), _sleep_ms(sleep_ms) {}
42
43
void schedule(bthread::TimerThread* timer_thread) {
44
_task_id = timer_thread->schedule(
45
TimeKeeper::routine, this, _expect_run_time);
46
}
47
48
void run()
49
{
Callers
4
TEST
Function · 0.45
check
Function · 0.45
TEST
Function · 0.45
run
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected