]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Allow threads to finish up when terminated by user
authoremaste <emaste@FreeBSD.org>
Fri, 6 Jul 2012 13:21:23 +0000 (13:21 +0000)
committeremaste <emaste@FreeBSD.org>
Fri, 6 Jul 2012 13:21:23 +0000 (13:21 +0000)
commit2b188d4ec410147bd2adcc63e86da1c677cd8b12
tree4fbc9b3d2e32e7c264b3971bc7e6ab7b51426dd9
parent24c2f6e5fd933cd776e27d6f9925a261fced2a21
Allow threads to finish up when terminated by user

Set a flag and allow worker threads to finish upon ^C, instead of
immediately cancelling them, so that final packet count and rate
stats can be displayed.
tools/tools/netmap/pkt-gen.c