| 205 | |
| 206 | template<typename TDatums, typename TWorker, typename TQueue> |
| 207 | void ThreadManager<TDatums, TWorker, TQueue>::start() |
| 208 | { |
| 209 | try |
| 210 | { |
| 211 | opLog("", Priority::Low, __LINE__, __FUNCTION__, __FILE__); |
| 212 | // Set threads |
| 213 | multisetToThreads(); |
| 214 | // Start threads |
| 215 | for (auto& thread : mThreads) |
| 216 | thread->startInThread(); |
| 217 | opLog("", Priority::Low, __LINE__, __FUNCTION__, __FILE__); |
| 218 | } |
| 219 | catch (const std::exception& e) |
| 220 | { |
| 221 | error(e.what(), __LINE__, __FUNCTION__, __FILE__); |
| 222 | } |
| 223 | } |
| 224 | |
| 225 | template<typename TDatums, typename TWorker, typename TQueue> |
| 226 | void ThreadManager<TDatums, TWorker, TQueue>::stop() |
nothing calls this directly
no test coverage detected