27 #ifndef CPP_NIX_NOTIFYPIPE_H_
28 #define CPP_NIX_NOTIFYPIPE_H_
61 #endif // NOTIFYPIPE_H_
int GetReadFd()
Return the file descriptor for the read end of the pipe.
int Clear()
Read from the pipe until it's empty.
int Notify()
Write a single byte to the pipe to signal all listeners.
int GetWriteFd()
Return the file descriptor for the write end of the pipe.
Manages a pipe which can be used as a condition variable between two threads. This is in contrast to ...