event/SocketMonitor: wake up the event loop after flag change

This commit is contained in:
Max Kellermann
2013-01-30 15:01:34 +01:00
parent 18e429a87e
commit be3d2188d6
2 changed files with 14 additions and 0 deletions

View File

@@ -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();
}