SpiecsEngine
 
Loading...
Searching...
No Matches

◆ SetMode()

template<typename ... Params>
void Spices::ThreadPool_Basic< Params >::SetMode ( PoolMode mode)
inlineinherited

Set Pool Run Mode.

Parameters
[in]modePool Run Mode.

Definition at line 456 of file ThreadPoolBasic.h.

457 {
459
460 if (CheckRunningState()) return;
461 m_PoolMode = mode;
462 }
#define SPICES_PROFILE_ZONE
PoolMode m_PoolMode
Thread Pool Run Mode.
bool CheckRunningState() const
Check whether this pool is still in running.

References Spices::ThreadPool_Basic< Params >::CheckRunningState(), and Spices::ThreadPool_Basic< Params >::m_PoolMode.