SignalEvent.this

Constructor. Creates the internal SignalFD instance but does not mask the standard handling of the specified signals. When this client is registered with epoll, the signals are masked.

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

class SignalEvent
this
(
scope Handler handler
,)

Parameters

handler Handler

delegate to call when a signal fires (must be non-null)

signals int[]

list of signals to handle

Throws

SignalErrnoException if the creation of the SignalFD fails

Meta