| 118 | |
| 119 | |
| 120 | bool Thread::isRunning() const |
| 121 | { |
| 122 | if (_thread) |
| 123 | { |
| 124 | DWORD ec = 0; |
| 125 | return GetExitCodeThread(_thread, &ec) && ec == STILL_ACTIVE; |
| 126 | } |
| 127 | return false; |
| 128 | } |
| 129 | |
| 130 | |
| 131 | void Thread::threadCleanup() |
no outgoing calls
no test coverage detected