|
| thread_pool_wrapper (unsigned int nthreads) |
| Construct a new thread pool wrapper, and invoke a pre-defined initialization function in each worker thread. More...
|
|
void | reset (unsigned int nthreads) |
| Reset the number of threads in the thread pool, and invoke a pre-defined initialization function in each worker thread. More...
|
|
template<typename pool_type>
class kvikio::thread_pool_wrapper< pool_type >
Definition at line 28 of file threadpool_wrapper.hpp.
◆ thread_pool_wrapper()
template<typename pool_type >
Construct a new thread pool wrapper, and invoke a pre-defined initialization function in each worker thread.
- Parameters
-
nthreads | The number of threads to use. |
Definition at line 36 of file threadpool_wrapper.hpp.
◆ reset()
template<typename pool_type >
Reset the number of threads in the thread pool, and invoke a pre-defined initialization function in each worker thread.
- Parameters
-
nthreads | The number of threads to use. |
Definition at line 44 of file threadpool_wrapper.hpp.
The documentation for this class was generated from the following file: