24 #ifndef WAKEUPHANDLE_H
25 #define WAKEUPHANDLE_H
A convenience handle for event loops so that one can interrupt a Poll before it times out...
void Read()
Read until not readable anymore.
void OnReadable()
Called by Poll when it detects that the file is readable.
void SendWakeup()
Causes this handler to become readable any Poll on this FileHandler will then return.
A class to make it easy to deal with file descriptors.
Generic file handle could be a file, or a socket or a device.