#include <thread_pool.h>
◆ PoolWorker()
hwy::PoolWorker::PoolWorker |
( |
size_t | thread, |
|
|
size_t | num_workers ) |
|
inline |
◆ ~PoolWorker()
hwy::PoolWorker::~PoolWorker |
( |
| ) |
|
|
default |
◆ SetRange()
◆ SetWaitMode()
◆ Victims()
hwy::Span< const uint32_t > hwy::PoolWorker::Victims |
( |
| ) |
const |
|
inline |
◆ WorkerGetEnd()
uint64_t hwy::PoolWorker::WorkerGetEnd |
( |
| ) |
const |
|
inline |
◆ WorkerGetWaitMode()
◆ WorkerReserveTask()
uint64_t hwy::PoolWorker::WorkerReserveTask |
( |
| ) |
|
|
inline |
◆ begin_
std::atomic<uint64_t> hwy::PoolWorker::begin_ |
|
private |
◆ end_
std::atomic<uint64_t> hwy::PoolWorker::end_ |
|
private |
◆ kMaxVictims
constexpr size_t hwy::PoolWorker::kMaxVictims = 4 |
|
staticconstexprprivate |
◆ num_victims_
uint32_t hwy::PoolWorker::num_victims_ |
|
private |
◆ padding_
◆ victims_
std::array<uint32_t, kMaxVictims> hwy::PoolWorker::victims_ |
|
private |
◆ wait_mode_
The documentation for this class was generated from the following file: