#include <thread_pool.h>
|
static constexpr uint32_t | kTerminate = 1 |
|
static constexpr uint32_t | kWork = 2 |
|
static constexpr uint32_t | kNop = 3 |
|
◆ Broadcast()
void hwy::PoolCommands::Broadcast |
( |
uint32_t | cmd | ) |
|
|
inline |
◆ SpinUntilDifferent()
static HWY_INLINE uint32_t hwy::PoolCommands::SpinUntilDifferent |
( |
const uint32_t | prev_seq_cmd, |
|
|
std::atomic< uint32_t > & | current ) |
|
inlinestaticprivate |
◆ WorkerInitialSeqCmd()
static uint32_t hwy::PoolCommands::WorkerInitialSeqCmd |
( |
| ) |
|
|
inlinestatic |
◆ WorkerWaitForNewCommand()
uint32_t hwy::PoolCommands::WorkerWaitForNewCommand |
( |
PoolWaitMode | wait_mode, |
|
|
uint32_t & | prev_seq_cmd ) |
|
inline |
◆ epoch_
uint32_t hwy::PoolCommands::epoch_ {0} |
|
private |
◆ kInitial
constexpr uint32_t hwy::PoolCommands::kInitial = 0 |
|
staticconstexprprivate |
◆ kMask
constexpr uint32_t hwy::PoolCommands::kMask = 0xF |
|
staticconstexprprivate |
◆ kNop
constexpr uint32_t hwy::PoolCommands::kNop = 3 |
|
staticconstexpr |
◆ kShift
◆ kTerminate
constexpr uint32_t hwy::PoolCommands::kTerminate = 1 |
|
staticconstexpr |
◆ kWork
constexpr uint32_t hwy::PoolCommands::kWork = 2 |
|
staticconstexpr |
◆ seq_cmd_
std::atomic<uint32_t> hwy::PoolCommands::seq_cmd_ {kInitial} |
|
private |
The documentation for this class was generated from the following file: