SpiecsEngine
 
Loading...
Searching...
No Matches

◆ SetThreadInTask()

template<typename ... Params>
void Spices::Thread< Params >::SetThreadInTask ( bool isInTask)
inline

Set this Thread is in task or not.

Definition at line 448 of file ThreadPoolBasic.h.

449 {
451
452 m_IsInTask = isInTask;
453 }
#define SPICES_PROFILE_ZONE
std::atomic_bool m_IsInTask
True if this thread is executing a task.