aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
authorkremlin <ian@kremlin.cc>2014-08-05 10:30:41 +0800
committerkremlin <ian@kremlin.cc>2014-08-05 10:30:41 +0800
commita6e4b32c811a567443234a11ffdb99ec517060be (patch)
treec422a5d645c3ad3a630967bdaa8d6a5735cd0885 /src/main.c
parent5a2ebcdb9775e789cec2d66545a581846f55d937 (diff)
downloadsystembsd-a6e4b32c811a567443234a11ffdb99ec517060be.tar
systembsd-a6e4b32c811a567443234a11ffdb99ec517060be.tar.gz
systembsd-a6e4b32c811a567443234a11ffdb99ec517060be.tar.bz2
systembsd-a6e4b32c811a567443234a11ffdb99ec517060be.tar.lz
systembsd-a6e4b32c811a567443234a11ffdb99ec517060be.tar.xz
systembsd-a6e4b32c811a567443234a11ffdb99ec517060be.tar.zst
systembsd-a6e4b32c811a567443234a11ffdb99ec517060be.zip
(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.
Diffstat (limited to 'src/main.c')
0 files changed, 0 insertions, 0 deletions