WakeUp a thread, which wait on recv, by sending one byte data.
Definition at line 104 of file EventLoop.cpp.
105 {
106 char one = 1;
108 if (n < 0)
109 {
110 std::stringstream ss;
111 ss << "EventLoop::WakeUp error, Error: " << WSAGetLastError();
112
113 SPICES_CORE_ERROR(ss.str())
114 }
115 }
Socket m_WakeupFd
Wakeup Socket.
const SOCKET Fd() const
Get this socket fd.
Referenced by QueueInLoop(), and Quit().