API: Handle pthread cond signal case where signal is missed. 01/18801/3
authorOle Troan <ot@cisco.com>
Wed, 10 Apr 2019 17:32:02 +0000 (19:32 +0200)
committerNeale Ranns <nranns@cisco.com>
Tue, 16 Apr 2019 07:02:28 +0000 (07:02 +0000)
commitc560789ca85b2325072ef1a209d4b1012dfe07bd
tree335400088e75959d05967442cb4ed42d05a2c815
parentcf18ca92b86cc589cd482e951cba8a0a5eb5e0d5
API: Handle pthread cond signal case where signal is missed.

Especially on a single core setup the RX thread could signal the main thread
that it was done, before main thread listened to the signal.

Change-Id: Ib70337b21bcf77787ce4ee0aa9cf80c6da2215af
Signed-off-by: Ole Troan <ot@cisco.com>
src/vlibmemory/memory_client.c
src/vpp-api/client/client.c