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