| 243 | } |
| 244 | |
| 245 | std::exception_ptr Thread::wait() |
| 246 | { |
| 247 | { |
| 248 | std::unique_lock<std::mutex> lock(_m); |
| 249 | _cv.wait(lock, [&] { return _job_complete; }); |
| 250 | } |
| 251 | return _current_exception; |
| 252 | } |
| 253 | |
| 254 | void Thread::worker_thread() |
| 255 | { |
no outgoing calls
no test coverage detected