std::thread::threadpool

FixedThreadPool

struct FixedThreadPool
{
	Mutex mu;
	QueueItem[] queue;
	usz qindex;
	usz num_threads;
	bitstruct : char {
		bool initialized;
		bool stop;
		bool stop_now;
	}
	Thread[] pool;
	ConditionVariable notify;
}

Members

Methods