Crate background_hang_monitor_api

source ·
Expand description

An API interface to the BackgroundHangMonitor.

Structs§

Enums§

Traits§

  • Proxy methods to communicate with the background hang monitor
  • 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.
  • A handle to register components for hang monitoring, and to receive a means to communicate with the underlying hang monitor worker.