Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Shangyizhou/A-Tiny-Network-Library
/ getAllLoops
Method
getAllLoops
src/net/EventLoopThreadPool.cc:69–79 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
67
}
68
69
std::vector<EventLoop *> EventLoopThreadPool::getAllLoops()
70
{
71
if(loops_.empty())
72
{
73
return std::vector<EventLoop *>(1, baseLoop_);
74
}
75
else
76
{
77
return loops_;
78
}
79
}
Callers
nothing calls this directly
Calls
1
empty
Method · 0.80
Tested by
no test coverage detected