VPP-API client: timeout thread loop variable 38/13738/1
authorNeale Ranns <neale.ranns@cisco.com>
Thu, 26 Jul 2018 15:05:53 +0000 (08:05 -0700)
committerNeale Ranns <neale.ranns@cisco.com>
Thu, 26 Jul 2018 15:05:57 +0000 (08:05 -0700)
commit1d65279ffecd0f540288187b94cb1a6b84a7a0c6
treefb12e579bc76839692df58a67b2b0a2178db8212
parentb842ae117864a410af675bcc4964a4860dfca98a
VPP-API client: timeout thread loop variable

calling thread cancel on the timeout thread whilst it was
sleep on condwait and then send the cond signal did not reliably
wake up the thread.
instead don;t cancel the thread, use a loop variable to terminate it.

Change-Id: Ibc8ab6f21db7e4a98266bdf88b8b208b887820dd
Signed-off-by: Neale Ranns <neale.ranns@cisco.com>
src/vpp-api/client/client.c