You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 28, 2023. It is now read-only.
(I'm trying to figure out a good first issue to expand the ABIs)
A watchdog ABI could work like this:
watchdog_setup(tick_interval)
watchdog_alive()
An interrupt is programmed for the given tick interval, and the process is killed if it doesn't call watchdog_alive before the interrupt triggers. Each call to watchdog_alive resets the interrupt.
The text was updated successfully, but these errors were encountered:
It would be used to increase reliability of services.
A process that opts into it could prevent bugs from making it appear alive
when it has hit a bug that spins the CPU or makes it wait forever.
This would generally be hooked into the main loop of the program.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
(I'm trying to figure out a good first issue to expand the ABIs)
A watchdog ABI could work like this:
An interrupt is programmed for the given tick interval, and the process is killed if it doesn't call watchdog_alive before the interrupt triggers. Each call to watchdog_alive resets the interrupt.
The text was updated successfully, but these errors were encountered: