event/SocketMonitor: wake up the event loop after flag change
This commit is contained in:
@@ -159,3 +159,9 @@ SocketMonitor::Write(const void *data, size_t length)
|
||||
|
||||
return send(Get(), (const char *)data, length, flags);
|
||||
}
|
||||
|
||||
void
|
||||
SocketMonitor::CommitEventFlags()
|
||||
{
|
||||
loop.WakeUp();
|
||||
}
|
||||
|
Reference in New Issue
Block a user