examples/kni: add SIGTERM signal handling
authorVamsi Attunuru <vattunuru@marvell.com>
Thu, 6 Feb 2020 11:53:57 +0000 (17:23 +0530)
committerDavid Marchand <david.marchand@redhat.com>
Thu, 13 Feb 2020 17:27:44 +0000 (18:27 +0100)
commit2a115479c6361f9667efaa30ceb0dbdcbd931f48
tree8a155aa6f6b4648f6b8aa9050702420ac632b7d4
parent38ad54f3bc7614b53bd6ca3644a471a3842502fc
examples/kni: add SIGTERM signal handling

SIGTERM handling is added for graceful application exit.
Useful when application is terminated without specifying
any signal on 'kill' command.

Signed-off-by: Vamsi Attunuru <vattunuru@marvell.com>
Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
examples/kni/main.c