SpiecsEngine
 
Loading...
Searching...
No Matches

◆ Continue()

template<typename ... Params>
void Spices::ThreadPool_Basic< Params >::Continue ( )
inlineinherited

Continue ThreadPool.

Definition at line 521 of file ThreadPoolBasic.h.

522 {
524
525 m_IsSuspend = false;
526
527 if (m_Tasks.load() > 0)
528 {
529 m_NotEmpty.notify_all();
530 }
531 }
#define SPICES_PROFILE_ZONE
bool m_IsSuspend
True if needs suspend on executing the task.
std::atomic_int m_Tasks
Number of tasks;.
std::condition_variable m_NotEmpty
Task Queue not empty.

References Spices::ThreadPool_Basic< Params >::m_IsSuspend, and Spices::ThreadPool_Basic< Params >::m_NotEmpty.