Commit graph

7 commits

Author SHA1 Message Date
Mathieu Trossevin 31d681ba2a Proper case for TimedOut variant 2024-01-05 22:51:28 +01:00
Mathieu Trossevin 035f354b04 notify: improve documentation 2024-01-05 22:28:57 +01:00
Mathieu Trossevin d60d906483 notify: Add an equivalent to sd_notify_barrier
This also add an RAII guard for that can be used for the same purpose.
(Mostly for use in a closure.)
2024-01-05 21:27:09 +01:00
Mathieu Trossevin 7d930c3e42
Add a Newtype for custom states
This allow us to do some sanity checks on them.
2024-01-04 14:31:02 +01:00
Mathieu Trossevin cbfa648c4a
Use Newtypes for NotifyState 2024-01-04 13:48:45 +01:00
Mathieu Trossevin 776be0c96a
Proper NOTIFY_SOCKET support
Still need to implement watchdog detection.
2023-12-08 16:21:00 +01:00
Mathieu Trossevin c142afbc2c
Start adding support for NOTIFY_SOCKET 2023-12-08 14:46:54 +01:00