SignalRaise¶
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.
Constructors¶
create¶
Returns¶
- SignalRaise val^
Public Functions¶
apply¶
Parameters¶
- auth: SignalAuth val
- sig: U32 val
Returns¶
- None val
eq¶
Parameters¶
- that: SignalRaise val
Returns¶
- Bool val
ne¶
Parameters¶
- that: SignalRaise val
Returns¶
- Bool val