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

Method ResourceLocksAvailable

Source/CTest/cmCTestMultiProcessHandler.cxx:486–493  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

484}
485
486bool cmCTestMultiProcessHandler::ResourceLocksAvailable(int test)
487{
488 return std::all_of(this->Properties[test]->ProjectResources.begin(),
489 this->Properties[test]->ProjectResources.end(),
490 [this](std::string const& r) -> bool {
491 return !cm::contains(this->ProjectResourcesLocked, r);
492 });
493}
494
495void cmCTestMultiProcessHandler::LockResources(int index)
496{

Callers 1

StartNextTestsMethod · 0.95

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected