SignalFD.this

Constructor. Creates a signal event file descriptor which will be written to when one of the specified signals fires. The normal signal handling for the specified signals is optionally masked.

The list of signals handled may be extended after construction by calling the register() method.

class SignalFD
this
(
int[] signals
,
bool mask = true
)

Parameters

signals int[]

list of signals to register

mask bool

if true, default signal handling of the specified signals will be masked

Throws

SignalErrnoException if the creation of the signalfd fails

Meta