MCPcopy 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
329private:
330 void exceptInLoopThread() const

Callers 4

sendMethod · 0.80
onEnterEventLoopFunction · 0.80
causeEnterCallbackFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected