MCPcopy Create free account
hub / github.com/Qihoo360/evpp / OnThreadStarted

Method OnThreadStarted

evpp/event_loop_thread_pool.cc:160–166  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

158}
159
160void EventLoopThreadPool::OnThreadStarted(uint32_t count) {
161 DLOG_TRACE << "tid=" << std::this_thread::get_id() << " count=" << count << " started.";
162 if (count == thread_num_) {
163 DLOG_TRACE << "thread pool totally started.";
164 status_.store(kRunning);
165 }
166}
167
168void EventLoopThreadPool::OnThreadExited(uint32_t count) {
169 DLOG_TRACE << "tid=" << std::this_thread::get_id() << " count=" << count << " exited.";

Callers 1

StartMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected