|
Grok 12.0.1
|
#include <thread_pool.h>
Public Member Functions | |
| void | Reset () |
| void | WorkerArrive (size_t thread) |
| HWY_POOL_INLINE void | WaitAll (size_t num_workers) |
Private Attributes | |
| std::atomic< uint64_t > | num_finished_ [4 *kU64PerCacheLine] |
Static Private Attributes | |
| static constexpr size_t | kU64PerCacheLine = HWY_ALIGNMENT / sizeof(uint64_t) |
|
inline |
Referenced by hwy::ThreadPool::Run().
|
inline |
References hwy::Pause().
Referenced by hwy::ThreadPool::Run().
|
inline |
Referenced by hwy::ThreadPool::Run(), and hwy::ThreadPool::ThreadFunc().
|
staticconstexprprivate |
|
private |