SpiecsEngine
 
Loading...
Searching...
No Matches

◆ Get()

std::shared_ptr< ThreadModel > Spices::ThreadModel::Get ( )
static

Get ThreadModel single instance.

Returns
Returns this single instance.

Definition at line 20 of file ThreadModel.cpp.

21 {
23
24 if (!m_ThreadModel)
25 {
26 m_ThreadModel = std::make_shared<ThreadModel>();
27 }
28
29 return m_ThreadModel;
30 }
#define SPICES_PROFILE_ZONE
static std::shared_ptr< ThreadModel > m_ThreadModel
Get ThreadModel single instance.