#include <ThreadPool.hpp>
|
static tf::Executor & | instance (uint32_t numthreads) |
|
static tf::Executor & | get (void) |
|
static void | destroy () |
|
static uint32_t | threadId (void) |
|
|
static std::unique_ptr< tf::Executor > | instance_ = nullptr |
|
static std::mutex | mutex_ |
|
◆ ExecSingleton() [1/2]
◆ ExecSingleton() [2/2]
ExecSingleton::ExecSingleton |
( |
| ) |
|
|
privatedefault |
◆ destroy()
static void ExecSingleton::destroy |
( |
| ) |
|
|
inlinestatic |
◆ get()
static tf::Executor & ExecSingleton::get |
( |
void | | ) |
|
|
inlinestatic |
References instance(), instance_, and mutex_.
Referenced by grk::CodeStreamCompress::compress(), grk::CompressScheduler::compress(), grk::TileProcessor::decompressT2T1(), grk::CodeStreamDecompress::decompressTile(), grk::CodeStreamDecompress::decompressTiles(), grk::WaveletFwdImpl::encode_procedure(), grk::Scheduler::run(), grk::CompressScheduler::scheduleBlocks(), grk::DecompressScheduler::scheduleBlocks(), threadId(), and grk::HWY_NAMESPACE::vscheduler().
◆ instance()
static tf::Executor & ExecSingleton::instance |
( |
uint32_t | numthreads | ) |
|
|
inlinestatic |
◆ operator=()
◆ threadId()
static uint32_t ExecSingleton::threadId |
( |
void | | ) |
|
|
inlinestatic |
◆ instance_
std::unique_ptr< tf::Executor > ExecSingleton::instance_ = nullptr |
|
staticprivate |
◆ mutex_
std::mutex ExecSingleton::mutex_ |
|
staticprivate |
The documentation for this class was generated from the following files: