Skip to content

SignalRaise

[Source]

Raise a signal.

Unlike SignalHandler, this accepts a raw signal number rather than a HandleableSignal. Raising fatal signals (e.g. SIGABRT to intentionally crash) is a legitimate operation — it is only handling them via the ASIO mechanism that is prevented.

The raise is process-wide: every currently subscribed handler for the signal is notified. With no subscribers, the signal's current disposition applies — the operating system default for most signals (process death for a terminating one), but SIG_IGN for one the runtime keeps ignored like SIGPIPE.

primitive val SignalRaise

Constructors

create

[Source]

new val create()
: SignalRaise val^

Returns


Public Functions

apply

[Source]

fun box apply(
  auth: SignalAuth val,
  sig: U32 val)
: None val

Parameters

Returns


eq

[Source]

fun box eq(
  that: SignalRaise val)
: Bool val

Parameters

Returns


ne

[Source]

fun box ne(
  that: SignalRaise val)
: Bool val

Parameters

Returns