Re-work state propogation/transition logic.
authorDavin McCall <davmac@davmac.org>
Sun, 4 Aug 2019 04:23:15 +0000 (14:23 +1000)
committerDavin McCall <davmac@davmac.org>
Sun, 4 Aug 2019 09:15:19 +0000 (19:15 +1000)
commitdc772cfe9b6661a0d0e5db888778b8167e702331
treeb0988c59a322ffe425426c32e6b43e36cf5dda7a
parent758376a6c028ebed09ae09db3b5e63669845bf26
Re-work state propogation/transition logic.

This mostly keeps existing behaviour, hopefully making it more
consistent and predictable in other cases, and simplifies the code.
TODO
src/baseproc-service.cc
src/control.cc
src/includes/service.h
src/proc-service.cc
src/service.cc
src/tests/proctests.cc
src/tests/tests.cc