ThreadPool.this

Create a new ThreadPool.

class ThreadPool(Args...)
this

Parameters

workers size_t

The amount of threads to spawn

q_size size_t

The expected size of the queue (how many elements are preallocated)

Meta