| 67 | |
| 68 | template <typename Func> |
| 69 | void RunThreadsAndJoin(Func&& func, int iters) { |
| 70 | std::vector<ThreadJoiner> threads; |
| 71 | for (int i = 0; i < iters; i++) { |
| 72 | threads.emplace_back(std::make_shared<std::thread>([i, func] { func(i); })); |
| 73 | } |
| 74 | } |
| 75 | |
| 76 | class ColumnDecoderTest : public ::testing::Test { |
| 77 | public: |
no test coverage detected