(6) add handler for unix termination signals
authorkremlin <ian@kremlin.cc>
Tue, 5 Aug 2014 02:30:41 +0000 (21:30 -0500)
committerkremlin <ian@kremlin.cc>
Tue, 5 Aug 2014 02:30:41 +0000 (21:30 -0500)
commita6e4b32c811a567443234a11ffdb99ec517060be
treec422a5d645c3ad3a630967bdaa8d6a5735cd0885
parent5a2ebcdb9775e789cec2d66545a581846f55d937
(6) add handler for unix termination signals

it prints a message and calls foo_mem_clean(), swiftly and safely
bringing the runtime down before letting the calling thread it was
ready to exit. note, this is handled through GLib which guarantees
it is only fired once, rather than unwrapped signals that can occur
wildly.
src/interfaces/localed/localed.c
src/interfaces/logind/logind.c
src/interfaces/timedated/timedated.c