| 62 | |
| 63 | template <typename Func> |
| 64 | ThreadJoiner RunThread(Func&& func) { |
| 65 | return ThreadJoiner(std::make_shared<std::thread>(std::forward<Func>(func))); |
| 66 | } |
| 67 | |
| 68 | template <typename Func> |
| 69 | void RunThreadsAndJoin(Func&& func, int iters) { |
nothing calls this directly
no test coverage detected