class pocketfft::detail::threading::thread_poolΒΆ
class thread_pool {
public:
// structs
struct worker;
// construction
thread_pool(size_t nthreads);
thread_pool();
~thread_pool();
// methods
void submit(std::function<void()> work);
void shutdown();
void restart();
};