|
Anklang-0.3.0.dev712+gdc4e642f anklang-0.3.0.dev712+gdc4e642f
ASE — Anklang Sound Engine (C++)
« « « Anklang Documentation |
Wakeup facility for IPC. More...
#include "utils.hh"
Public Member Functions | |
| int | open () |
| Opens the eventfd and returns -errno. | |
| bool | opened () |
| Indicates whether eventfd has been opened. | |
| void | wakeup () |
| Wakeup polling end. | |
| int | inputfd () |
| Returns the file descriptor for POLLIN. | |
| bool | pollin () |
| Checks whether events are pending. | |
| void | flush () |
| Clear pending wakeups. | |
| void Ase::EventFd::flush | ( | ) |
| int Ase::EventFd::inputfd | ( | ) |
| int Ase::EventFd::open | ( | ) |
| bool Ase::EventFd::opened | ( | ) |
Indicates whether eventfd has been opened.
Definition at line 153 of file utils.cc.
References inputfd().
Referenced by open(), and Ase::LoopImpl::wakeup().
| bool Ase::EventFd::pollin | ( | ) |
| void Ase::EventFd::wakeup | ( | ) |