aboutsummaryrefslogtreecommitdiffstats
path: root/src/vlib/CMakeLists.txt
diff options
context:
space:
mode:
authorMatthew Smith <mgsmith@netgate.com>2024-05-24 19:53:55 +0000
committerDave Wallace <dwallacelf@gmail.com>2024-11-27 03:06:33 +0000
commit41ac8ee88f992fe845aed259557eaa7ec05f0ee0 (patch)
tree1d93a5591c93e115da8609264066142937b0e29c /src/vlib/CMakeLists.txt
parentad005c2a8bcf2122f6426683802a6cd91dd1e1fe (diff)
vapi: only wait if queue is empty
Type: fix Fixes: 4b9935cd54 In vapi_wait(), check that the queue is empty before waiting. The condvar is only signaled on addition of the first message. pthread_cond_wait() will block approximately forever if there are already messages in the queue. Change-Id: Ic52befe443509f3c53aa9a872ba62bb05aaac25e Signed-off-by: Matthew Smith <mgsmith@netgate.com>
Diffstat (limited to 'src/vlib/CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions