SignalHandler

Listen for a specific signal.

actor tag SignalHandler

Constructors

create

Create a signal handler.

new tag create(
  notify: SignalNotify iso,
  sig: U32 val)
: SignalHandler tag^

Parameters

Returns


Public Behaviours

raise

Raise the signal.

be raise()

dispose

Dispose of the signal handler.

be dispose()

Private Behaviours

_event_notify

Called when the signal is received, or when the AsioEventID can be destroyed.

be _event_notify(
  event: Pointer[AsioEvent val] tag,
  flags: U32 val,
  arg: U32 val)

Parameters


Private Functions

_dispose

Dispose of the AsioEventID.

fun ref _dispose()
: None val

Returns