MCPcopy Create free account
hub / github.com/apache/brpc / ThreadMain

Method ThreadMain

test/waitable_event_unittest.cc:81–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79 }
80
81 virtual void ThreadMain() OVERRIDE {
82 PlatformThread::Sleep(TimeDelta::FromSeconds(static_cast<int>(seconds_)));
83 ev_->Signal();
84 }
85
86 private:
87 const double seconds_;

Callers

nothing calls this directly

Calls 1

SignalMethod · 0.45

Tested by

no test coverage detected