#include <thread_pool.h>
|
template<class Closure > |
void | Store (const Closure &closure, uint64_t begin, uint64_t end) |
|
RunFunc | WorkerGet (uint64_t &begin, uint64_t &end, const void *&opaque) const |
|
|
typedef void(* | RunFunc) (const void *opaque, uint64_t task, size_t thread_id) |
|
|
template<class Closure > |
static void | CallClosure (const void *opaque, uint64_t task, size_t thread) |
|
◆ RunFunc
typedef void(* hwy::PoolTasks::RunFunc) (const void *opaque, uint64_t task, size_t thread_id) |
|
private |
◆ CallClosure()
template<class Closure >
static void hwy::PoolTasks::CallClosure |
( |
const void * | opaque, |
|
|
uint64_t | task, |
|
|
size_t | thread ) |
|
inlinestaticprivate |
◆ Store()
template<class Closure >
void hwy::PoolTasks::Store |
( |
const Closure & | closure, |
|
|
uint64_t | begin, |
|
|
uint64_t | end ) |
|
inline |
◆ WorkerGet()
RunFunc hwy::PoolTasks::WorkerGet |
( |
uint64_t & | begin, |
|
|
uint64_t & | end, |
|
|
const void *& | opaque ) const |
|
inline |
◆ begin_
std::atomic<uint64_t> hwy::PoolTasks::begin_ |
|
private |
◆ end_
std::atomic<uint64_t> hwy::PoolTasks::end_ |
|
private |
◆ func_
std::atomic<RunFunc> hwy::PoolTasks::func_ |
|
private |
◆ opaque_
std::atomic<const void*> hwy::PoolTasks::opaque_ |
|
private |
The documentation for this class was generated from the following file: