SpiecsEngine
 
Loading...
Searching...
No Matches

◆ IsInLoopThread()

bool Spices::Net::EventLoop::IsInLoopThread ( ) const
inline

Determine if current thread is in eventloop thread.

Returns
Returns true if is in eventloop thread.

Definition at line 109 of file EventLoop.h.

109{ return m_ThreadId == GetCurrentThreadId(); }
DWORD m_ThreadId
Thread's identify, which is running this EventLoop.
Definition EventLoop.h:143

Referenced by Quit(), RunInLoop(), and Spices::Net::TcpConnection::Send().