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

Method Clear

src/colmap/util/threading.h:464–468  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

462
463template <typename T>
464void JobQueue<T>::Clear() {
465 std::unique_lock<std::mutex> lock(mutex_);
466 std::queue<T> empty_jobs;
467 std::swap(jobs_, empty_jobs);
468}
469
470} // namespace colmap

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected