MCPcopy Create free account
hub / github.com/colmap/colmap / RunFunc

Method RunFunc

src/colmap/util/threading.cc:173–182  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

171}
172
173void Thread::RunFunc() {
174 Callback(STARTED_CALLBACK);
175 Run();
176 {
177 std::unique_lock<std::mutex> lock(mutex_);
178 finished_ = true;
179 timer_.Pause();
180 }
181 Callback(FINISHED_CALLBACK);
182}
183
184ThreadPool::ThreadPool(const int num_threads)
185 : stopped_(false), num_active_workers_(0) {

Callers

nothing calls this directly

Calls 1

PauseMethod · 0.45

Tested by

no test coverage detected