| 60 | } |
| 61 | |
| 62 | bool ScenarioManager::IsRunning() |
| 63 | { |
| 64 | std::lock_guard<std::mutex> lock(m_mutex); |
| 65 | if (m_thread == nullptr) |
| 66 | return false; |
| 67 | |
| 68 | if (m_isFinished) |
| 69 | { |
| 70 | InterruptImpl(); |
| 71 | return false; |
| 72 | } |
| 73 | return true; |
| 74 | } |
| 75 | |
| 76 | void ScenarioManager::ThreadRoutine() |
| 77 | { |
no outgoing calls
no test coverage detected