From: Matthew Smith Date: Fri, 2 Dec 2022 20:46:16 +0000 (+0000) Subject: vapi: implement vapi_wait() for reads X-Git-Tag: v23.06-rc0~68 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=4b9935cd54e5ca31c192cb9113e3056016f0b728;hp=4b9935cd54e5ca31c192cb9113e3056016f0b728;p=vpp.git vapi: implement vapi_wait() for reads Type: improvement The function vapi_wait() is intended to allow a caller to block while waiting until the API queue can be read/written. It was a stub that returned VAPI_ENOTSUP. Add code which implements the wait on being able to read an incoming message. Had to touch a few other things in vapi.h to make checkstyle.sh happy after changing the prototype of vapi_wait(). Signed-off-by: Matthew Smith Change-Id: Ida80c1a1d34fe297ab23268087be65ea53ad7040 ---