MCPcopy Create free account
hub / github.com/Kitware/CMake / LockBuildDaemon

Method LockBuildDaemon

Source/cmInstrumentation.cxx:873–877  ·  view source on GitHub ↗

Prevent multiple build daemons from running simultaneously

Source from the content-addressed store, hash-verified

871
872// Prevent multiple build daemons from running simultaneously
873bool cmInstrumentation::LockBuildDaemon()
874{
875 // 0 = non-blocking, 0s timeout
876 return this->AcquireLock(".build.lock", this->buildLock, 0);
877}
878
879// Prevent multiple index processes from claiming snippets simultaneously
880bool cmInstrumentation::LockIndexing()

Callers 3

SpawnBuildDaemonMethod · 0.95
BuildMethod · 0.80

Calls 1

AcquireLockMethod · 0.95

Tested by

no test coverage detected