SpiecsEngine
Loading...
Searching...
No Matches
◆
GetAllLoops()
std::vector<
EventLoop
* > Spices::Net::EventLoopThreadPool::GetAllLoops
(
)
Get all thread
EventLoop
.
Returns
Returns all thread
EventLoop
.
Definition at line
34
of file
EventLoopThreadPool.cpp
.
35
{
36
SPICES_PROFILE_ZONE
;
37
38
if
(
m_Loops
.empty())
39
{
40
return
std::vector<EventLoop*>(1,
EventLoopThreadWrapper::GetInst
());
41
}
42
else
43
{
44
return
m_Loops
;
45
}
46
}
SPICES_PROFILE_ZONE
#define SPICES_PROFILE_ZONE
Definition
TracyProfilerWrapper.h:100
Spices::Net::EventLoopThreadPool::m_Loops
std::vector< EventLoop * > m_Loops
All threads EventLoop collection.
Definition
EventLoopThreadPool.h:90
Spices::Net::EventLoopThreadWrapper::GetInst
static EventLoop *& GetInst(InetAddress *address=nullptr)
Get EventLoop Instance. @reutrn Returns EventLoop Instance.
Definition
EventLoop.cpp:173
Spices
Net
EventLoopThreadPool
Generated on Sun Mar 8 2026 10:24:50 for SpiecsEngine by
1.10.0