SpiecsEngine
Loading...
Searching...
No Matches
◆
Wait()
template<typename ... Params>
void
Spices::Thread
< Params >::Wait
(
)
const
inline
Wait for all thread tasks finished.
Definition at line
440
of file
ThreadPoolBasic.h
.
441
{
442
SPICES_PROFILE_ZONE
;
443
444
while
(
m_ThreadTasks
.load() != 0 ||
m_IsInTask
.load()) {};
445
}
SPICES_PROFILE_ZONE
#define SPICES_PROFILE_ZONE
Definition
TracyProfilerWrapper.h:100
Spices::Thread::m_ThreadTasks
std::atomic_int m_ThreadTasks
Thread Tasks Count.
Definition
ThreadPoolBasic.h:138
Spices::Thread::m_IsInTask
std::atomic_bool m_IsInTask
True if this thread is executing a task.
Definition
ThreadPoolBasic.h:143
Spices
Thread
Generated on Sun Mar 8 2026 10:24:50 for SpiecsEngine by
1.10.0