| 87 | |
| 88 | template<typename TDatums, typename TWorker> |
| 89 | Thread<TDatums, TWorker>::~Thread() |
| 90 | { |
| 91 | try |
| 92 | { |
| 93 | opLog("", Priority::Low, __LINE__, __FUNCTION__, __FILE__); |
| 94 | stopAndJoin(); |
| 95 | opLog("", Priority::Low, __LINE__, __FUNCTION__, __FILE__); |
| 96 | } |
| 97 | catch (const std::exception& e) |
| 98 | { |
| 99 | errorDestructor(e.what(), __LINE__, __FUNCTION__, __FILE__); |
| 100 | } |
| 101 | } |
| 102 | |
| 103 | template<typename TDatums, typename TWorker> |
| 104 | void Thread<TDatums, TWorker>::add(const std::vector<std::shared_ptr<SubThread<TDatums, TWorker>>>& subThreads) |
nothing calls this directly
no test coverage detected