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

Method start

tools/trackme_server/trackme_server.cpp:125–133  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

123{}
124
125bool BugsLoader::start(const std::string& bugs_file) {
126 _bugs_file = bugs_file;
127 if (pthread_create(&_tid, NULL, run_this, this) != 0) {
128 LOG(ERROR) << "Fail to create loading thread";
129 return false;
130 }
131 _started = true;
132 return true;
133}
134
135void BugsLoader::stop() {
136 if (!_started) {

Callers 1

mainFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected