-
-
Notifications
You must be signed in to change notification settings - Fork 43
Open
Description
Hello,
First, I want to thank you for this great library :)
I mainly use it in a C application and I was looking for a way to get a kind of "warning" before the system actually perform the reboot, this could allow more easier debugging. For example, we could register a callback method to call when "pre-timeout" is trigger, allowing to log current state of the application (this is only an example).
I saw in watchdog kernel documentation that we have ioctl WDIOC_SETPRETIMEOUT which allow to register a trigger before watchdog timeout. We also have ioctl WDIOC_GETTIMELEFT allowing to retrieve remaining time before system reboot.
Do you think this kind of feature can be implemented in this library ? (maybe I'm out of specs here ?)
Have a nice day
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels