Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chenshuo/muduo
/ getEventLoopOfCurrentThread
Method
getEventLoopOfCurrentThread
muduo/net/EventLoop.cc:59–62 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
57
} // namespace
58
59
EventLoop* EventLoop::getEventLoopOfCurrentThread()
60
{
61
return t_loopInThisThread;
62
}
63
64
EventLoop::EventLoop()
65
: looping_(false),
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected