SpiecsEngine
Loading...
Searching...
No Matches
◆
InitCustomThreadPool()
void Spices::ThreadModel::InitCustomThreadPool
(
)
Init Custom ThreadPool.
Definition at line
32
of file
ThreadModel.cpp
.
33
{
34
SPICES_PROFILE_ZONE
;
35
36
if
(!
m_CustomThreadPool
)
37
{
38
m_CustomThreadPool
= std::make_shared<ThreadPool>(
"CusT"
);
39
m_CustomThreadPool
->SetMode(
PoolMode::MODE_CACHED
);
40
m_CustomThreadPool
->Start(8);
41
}
42
}
SPICES_PROFILE_ZONE
#define SPICES_PROFILE_ZONE
Definition
TracyProfilerWrapper.h:100
Spices::ThreadModel::m_CustomThreadPool
std::shared_ptr< ThreadPool > m_CustomThreadPool
Custom ThreadPool.
Definition
ThreadModel.h:126
Spices::PoolMode::MODE_CACHED
@ MODE_CACHED
Spices
ThreadModel
Generated on Sun Mar 8 2026 10:24:50 for SpiecsEngine by
1.10.0