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

Method UVProcessFinished

Source/cmWorkerPool.cxx:479–488  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

477}
478
479void cmWorkerPoolWorker::UVProcessFinished()
480{
481 std::lock_guard<std::mutex> lock(this->Proc_.Mutex);
482 if (this->Proc_.ROP &&
483 (this->Proc_.ROP->IsFinished() || !this->Proc_.ROP->IsStarted())) {
484 this->Proc_.ROP.reset();
485 }
486 // Notify idling thread
487 this->Proc_.Condition.notify_one();
488}
489
490/**
491 * @brief Private worker pool internals

Callers 1

UVProcessStartMethod · 0.80

Calls 3

IsFinishedMethod · 0.80
IsStartedMethod · 0.80
resetMethod · 0.45

Tested by

no test coverage detected