MCPcopy 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

TESTFunction · 0.45
checkFunction · 0.45
TESTFunction · 0.45
runMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected