| 716 | } |
| 717 | |
| 718 | void Checkable::AquirePendingCheckSlot(int maxPendingChecks) |
| 719 | { |
| 720 | std::unique_lock<std::mutex> lock(m_StatsMutex); |
| 721 | while (m_PendingChecks >= maxPendingChecks) |
| 722 | m_PendingChecksCV.wait(lock); |
| 723 | |
| 724 | m_PendingChecks++; |
| 725 | } |
nothing calls this directly
no outgoing calls
no test coverage detected