From: kremlin Date: Tue, 5 Aug 2014 02:30:41 +0000 (-0500) Subject: (6) add handler for unix termination signals X-Git-Tag: gsoc-final~48 X-Git-Url: https://uglyman.kremlin.cc/gitweb/gitweb.cgi?p=systembsd.git;a=commitdiff_plain;h=712eb32987872a6515e956246c0695fda032eb98;hp=712eb32987872a6515e956246c0695fda032eb98 (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. ---