diff options
author | bnewbold <bnewbold@robocracy.org> | 2016-10-03 21:45:05 -0700 |
---|---|---|
committer | bnewbold <bnewbold@robocracy.org> | 2016-10-03 21:49:42 -0700 |
commit | 639fc1f0bd0be25c25218e8e7ed2e90e3dc5dcfb (patch) | |
tree | 3f7f0c674b81df3b1408f2a2ff970992296dd035 /Makefile | |
parent | f4d2980a65ec659a41bb5fab2382853c65c8efc0 (diff) | |
download | einhyrningsins-639fc1f0bd0be25c25218e8e7ed2e90e3dc5dcfb.tar.gz einhyrningsins-639fc1f0bd0be25c25218e8e7ed2e90e3dc5dcfb.zip |
basic/naive signal handling
The goal here was to hook Ctrl-C and send USR2 signal to childred instead.
Turns out this is doesn't work easily because Ctrl-C is sent to the entire
process group, not just the top running process. Making this work would require
either masking SIGINT in the childred (children might change this) or mucking
with process groups, both of which are "meh".
But, unsafe code, woooo!
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions