Crate background_hang_monitor_api

Source
Expand description

An API interface to the BackgroundHangMonitor.

Structs§

HangProfile
Info related to the activity of an hanging component.
HangProfileSymbol
MonitoredComponentId

Enums§

BackgroundHangMonitorControlMsg
Messages to control the sampling profiler.
HangAlert
Hang-alerts are sent by the monitor to the constellation.
HangAnnotation
HangMonitorAlert
Hang-alerts are sent by the monitor to the constellation.
MonitoredComponentType
ScriptHangAnnotation
The equivalent of script::script_runtime::ScriptEventCategory

Traits§

BackgroundHangMonitor
Proxy methods to communicate with the background hang monitor
BackgroundHangMonitorClone
BackgroundHangMonitorExitSignal
A means for the BHM to signal a monitored component to exit. Useful when the component is hanging, and cannot be notified via the usual way. The component should implement this in a way allowing for the signal to be received when hanging, if at all.
BackgroundHangMonitorRegister
A handle to register components for hang monitoring, and to receive a means to communicate with the underlying hang monitor worker.