tools/tcp_stream: Kill netperf children proactively upon SIGINT
commit101322bd1d1ec154350e04ba2d7998195eb074c7
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Sun, 7 Feb 2016 11:56:37 +0000 (7 19:56 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Sun, 7 Feb 2016 11:56:37 +0000 (7 19:56 +0800)
tree765b3c2d44c2782fb0e88c12f36fcafc071f7ad5
parent1aa9ea68b38da240b073219b867c4f934fbec44e
tools/tcp_stream: Kill netperf children proactively upon SIGINT

TCP_MAERTS test traps the first SIGINT, so use SIGKILL to terminate
them, if we are about to die.
tools/tools/netrate/netperf/tcp_stream/tcp_stream.c