20 #ifndef MPD_SIGNAL_FD_HXX
21 #define MPD_SIGNAL_FD_HXX
48 void Create(
const sigset_t &mask);
A class that wraps signalfd().
SignalFD & operator=(const SignalFD &other)=delete
int Read()
Read the next signal from the file descriptor.
void Create(const sigset_t &mask)
Create the signalfd or update its mask.
An OO wrapper for a UNIX file descriptor.
constexpr int Get() const
Returns the file descriptor.