MCPcopy Create free account
hub / github.com/Tencent/phxqueue / Run

Method Run

phxqueue/producer/batchhelper.cpp:239–244  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

237}
238
239void BatchHelper::Run() {
240 impl_->stop = false;
241 for (int i{0}; i < impl_->ndaemon_thread; ++i) {
242 impl_->daemon_threads.push_back(move(unique_ptr<thread>(new thread(&BatchHelper::DaemonThreadRun, this, i))));
243 }
244}
245
246void BatchHelper::Stop() {
247 impl_->stop = true;

Callers 1

InitMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected