| 520 | } |
| 521 | |
| 522 | void cmCTestMultiProcessHandler::UnlockResources(int index) |
| 523 | { |
| 524 | auto* properties = this->Properties[index]; |
| 525 | |
| 526 | for (auto p : properties->Affinity) { |
| 527 | this->ProcessorsAvailable.insert(p); |
| 528 | } |
| 529 | properties->Affinity.clear(); |
| 530 | |
| 531 | for (std::string const& i : properties->ProjectResources) { |
| 532 | this->ProjectResourcesLocked.erase(i); |
| 533 | } |
| 534 | |
| 535 | if (properties->RunSerial) { |
| 536 | this->SerialTestRunning = false; |
| 537 | } |
| 538 | |
| 539 | this->RunningCount -= this->GetProcessorsUsed(index); |
| 540 | } |
| 541 | |
| 542 | inline size_t cmCTestMultiProcessHandler::GetProcessorsUsed(int test) |
| 543 | { |
no test coverage detected