]> git.ipfire.org Git - thirdparty/systemd.git/commit
sd-event: define a new PREPARING state
authorLennart Poettering <lennart@poettering.net>
Thu, 19 Nov 2015 22:33:55 +0000 (23:33 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 19 Nov 2015 22:36:03 +0000 (23:36 +0100)
commit0be6c2f617732902921d42bb0705f016b2838aba
tree73f951a9172c7772dcd456820099b8ea236bd2cc
parent6680dd6b66e8a3e116819122ef66d89846d95f58
sd-event: define a new PREPARING state

We already have a state RUNNING and EXITING when we dispatch regular and
exit callbacks. Let's introduce a new state called PREPARING that is
active while we invoke preparation callbacks. This way we have a state
each for all three kinds of event handlers.

The states are currently not documented, hence let's add a new state to
the end, before we start documenting this.
src/libsystemd/sd-event/sd-event.c
src/systemd/sd-event.h