SpiecsEngine
 
Loading...
Searching...
No Matches

◆ GetThreadInTask()

template<typename ... Params>
bool Spices::Thread< Params >::GetThreadInTask ( ) const
inline

Get this Thread is in task or not.

Returns
Returns true if in task.

Definition at line 103 of file ThreadPoolBasic.h.

103{ return m_IsInTask.load(); }
std::atomic_bool m_IsInTask
True if this thread is executing a task.