Commit graph

6 commits

Author SHA1 Message Date
Mathieu Trossevin cfac28272b Merge branch 'main' into notify_barrier 2024-01-05 22:41:13 +01:00
Mathieu Trossevin f5b9796a32 fix(notify): WatchdogUsec and ExtendTimeoutUsec are in microseconds 2024-01-05 22:33:53 +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