Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/colmap/colmap
/ CheckValidSetup
Method
CheckValidSetup
src/colmap/util/threading.cc:165–171 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
163
}
164
165
bool Thread::CheckValidSetup() {
166
std::unique_lock<std::mutex> lock(mutex_);
167
if (!setup_) {
168
setup_condition_.wait(lock);
169
}
170
return setup_valid_;
171
}
172
173
void Thread::RunFunc() {
174
Callback(STARTED_CALLBACK);
Callers
3
Setup
Method · 0.80
Run
Method · 0.80
TEST
Function · 0.80
Calls
no outgoing calls
Tested by
1
TEST
Function · 0.64