Add signal handling 30/3330/5
authorDave Barach <[email protected]>
Sun, 9 Oct 2016 21:43:22 +0000 (17:43 -0400)
committerDamjan Marion <[email protected]>
Mon, 10 Oct 2016 20:49:29 +0000 (20:49 +0000)
commit477570e587b6b5a8f356a2727794155fa912d59f
tree486062f11e6675d83ad19788f2e855080be195b0
parentb21b6768ffcf02554529ac94792e4f8f23a1f15d
Add signal handling

Please send SIGTERM to stop vpp_api_test, especially during
long-running operations such as a high-count asynchronous set of
ip_add_del_routes.

Otherwise, there's every chance that the data plane to vpp_api_test
message queue will fill and cause an easily-avoided deadlock.

Change-Id: I09309b445c354e1a692fed708dd5ea44d1ea9882
Signed-off-by: Dave Barach <[email protected]>
vpp-api-test/vat/api_format.c
vpp-api-test/vat/main.c
vpp-api-test/vat/vat.h