chiark / gitweb /
sd-event: define a new PREPARING state
authorLennart Poettering <lennart@poettering.net>
Thu, 19 Nov 2015 22:33:55 +0000 (23:33 +0100)
committerSven Eden <yamakuzure@gmx.net>
Wed, 17 May 2017 13:22:14 +0000 (15:22 +0200)
commit487cbf0fa90e962e6e2fae0e0650ecdfcbc5cd0e
treefeac66258b09e0d0cc5c330632c3e1d4e3bfa3aa
parent6a3e32776154780b103f4154f3f70715ff11d838
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/libelogind/sd-event/sd-event.c