class

X::FaultHandler::Context

Inherits Reference / Object

Central handler for process faults and exit propagation

Constants

Log = ::Log.for(self)

Constructors

new(engine : Engine::Context)
Source

Instance methods

exit_process(from : UInt64, to : UInt64, reason : Process::Reason::Context)

Send an exit signal to a process (like Erlang's exit/2)

Source
handle_exit(process : Process::Context, reason : Process::Reason::Context)

Handle a process exit - propagate signals to linked/monitoring processes

Source
kill_process(process_id : UInt64, reason : Process::Reason::Context)

Kill a process with a specific reason

Source
start

Start the fault handler in a fiber

Source
stop

Stop the fault handler

Source