vlib: add graceful termination with status 19/33719/4
authorPierre Pfister <ppfister@cisco.com>
Fri, 10 Sep 2021 14:38:03 +0000 (16:38 +0200)
committerDamjan Marion <dmarion@me.com>
Tue, 14 Sep 2021 14:42:07 +0000 (14:42 +0000)
commitc26cc72edf195a3f57c734b5161bd37995002107
tree04286baf62d4b505635aa63cde1809f22cc6f1ed
parent46e020183e3e333c67a8099c4c43c9361d7ae4af
vlib: add graceful termination with status

This commit allows a non-VPP thread to request VPP to gracefully
shutdown and return a specific process status value.

Type: improvement
Change-Id: I9bf52b789e7ee28eb272630eaea495fd94349f79
Signed-off-by: Pierre Pfister <ppfister@cisco.com>
src/vlib/main.c
src/vlib/main.h