Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/IronsDu/brynet
/ isInLoopThread
Method
isInLoopThread
include/brynet/net/EventLoop.hpp:324–327 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
322
}
323
324
inline bool isInLoopThread() const
325
{
326
return mSelfThreadID == current_thread::tid();
327
}
328
329
private:
330
void exceptInLoopThread() const
Callers
4
send
Method · 0.80
onEnterEventLoop
Function · 0.80
causeEnterCallback
Function · 0.80
getSameThreadEventLoop
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected