92 {
93 {
94 std::unique_lock<std::mutex> lock(
m_Mutex);
96 }
97
99 {
101 }
102 }
std::vector< Functor > m_PendingFunctors
Delay functors.
std::atomic_bool m_IsCallingPendingFunctors
True if is execute pending functors.
std::mutex m_Mutex
Mutex for PendingFunctors.
void WakeUp()
WakeUp a thread, which wait on recv, by sending one byte data.
bool IsInLoopThread() const
Determine if current thread is in eventloop thread.