SpiecsEngine
Loading...
Searching...
No Matches
◆
InitGameThreadPool()
void Spices::ThreadModel::InitGameThreadPool
(
)
Init Game ThreadPool.
Definition at line
44
of file
ThreadModel.cpp
.
45
{
46
SPICES_PROFILE_ZONE
;
47
48
if
(!
m_GameThreadPool
)
49
{
50
m_GameThreadPool
= std::make_shared<ThreadPool>(
"GameT"
);
51
m_GameThreadPool
->SetMode(
PoolMode::MODE_FIXED
);
52
m_GameThreadPool
->Start(4);
53
m_GameThreadPool
->Suspend();
54
}
55
}
SPICES_PROFILE_ZONE
#define SPICES_PROFILE_ZONE
Definition
TracyProfilerWrapper.h:100
Spices::ThreadModel::m_GameThreadPool
std::shared_ptr< ThreadPool > m_GameThreadPool
Game ThreadPool.
Definition
ThreadModel.h:131
Spices::PoolMode::MODE_FIXED
@ MODE_FIXED
Spices
ThreadModel
Generated on Sun Mar 8 2026 10:24:50 for SpiecsEngine by
1.10.0