Steffen Jaeckel
c5a131ee46
Introduce our own shutdown callback mechanism.
...
Instead of adding stuff to `_shutdown()`, we can now register a shutdown
routine from the respective `init()` function of our modules.
This also has the advantage, that we're sure they're called in reverse
order from how the initialization happened.
I didn't simply use `atexit()` because POSIX says that the number of
possible callbacks is limited (min 32) and I was not sure whether
we will maybe extend this number at one point.
Signed-off-by: Steffen Jaeckel <s@jaeckel.eu >
2025-03-07 21:09:16 +01:00
..
2025-03-07 21:09:16 +01:00
2025-03-07 21:09:16 +01:00
2023-01-10 10:37:25 +01:00
2025-03-07 21:09:16 +01:00
2025-03-07 21:09:16 +01:00
2025-03-07 21:09:16 +01:00
2025-03-07 21:09:16 +01:00
2024-08-05 12:14:09 +02:00
2025-03-07 21:09:16 +01:00
2025-03-07 21:09:16 +01:00
2023-11-01 18:30:08 -06:00
2023-11-01 18:30:08 -06:00
2020-07-07 14:18:57 +02:00
2020-07-07 14:18:57 +02:00
2022-02-01 15:01:28 +01:00
2020-07-07 14:18:57 +02:00
2020-07-07 14:18:57 +02:00
2021-08-26 00:28:49 +00:00
2023-04-18 14:28:20 +02:00
2020-07-07 14:18:57 +02:00
2023-07-11 13:26:37 +02:00
2020-07-07 14:18:57 +02:00
2020-07-07 14:18:57 +02:00
2020-07-07 14:18:57 +02:00
2023-04-18 14:28:20 +02:00
2020-07-07 14:18:57 +02:00
2020-07-07 14:18:57 +02:00
2020-07-07 14:18:57 +02:00
2023-05-04 16:15:09 +02:00
2020-07-07 14:18:57 +02:00
2023-11-11 10:04:38 +01:00
2020-07-07 14:18:57 +02:00
2023-07-02 14:25:55 +02:00
2020-07-07 14:18:57 +02:00
2023-07-03 16:06:27 +02:00
2020-07-07 14:18:57 +02:00
2023-04-18 14:28:20 +02:00
2020-07-07 14:18:57 +02:00
2023-04-13 16:41:21 +02:00
2023-04-13 16:41:21 +02:00
2020-07-07 14:18:57 +02:00
2020-07-07 14:18:57 +02:00
2023-05-04 16:15:09 +02:00
2023-03-11 15:05:03 +01:00
2020-07-07 14:18:57 +02:00
2020-07-07 14:18:57 +02:00
2020-07-07 14:18:57 +02:00
2020-07-07 14:18:57 +02:00
2020-07-07 14:18:57 +02:00
2020-07-07 14:18:57 +02:00
2021-08-26 00:28:49 +00:00
2021-08-26 00:28:49 +00:00
2023-11-01 18:30:08 -06:00
2023-11-01 18:30:08 -06:00
2023-04-03 13:25:25 +01:00
2020-07-07 14:18:57 +02:00
2020-07-07 14:18:57 +02:00
2020-07-07 14:18:57 +02:00
2023-07-03 16:06:27 +02:00
2020-07-07 14:18:57 +02:00
2021-06-30 18:58:07 -04:00
2021-06-30 18:58:07 -04:00
2025-03-07 21:09:16 +01:00
2020-07-07 14:18:57 +02:00
2023-11-01 18:30:08 -06:00