aboutsummaryrefslogtreecommitdiffstats
path: root/src/vlib/cli.h
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2020-04-28 18:00:21 -0400
committerDave Wallace <dwallacelf@gmail.com>2020-05-07 00:57:02 +0000
commit9b5d0b7108451d7c81bad113503d00f46b3bb1ea (patch)
treeea43e7870913ff5d98111a8bdd39312b61483510 /src/vlib/cli.h
parent03dd7c08d4d745d936c20c42039e1badb9384e8f (diff)
vlib: add ASSERT to vlib_time_now(...)
Calling vlib_time_now (&vlib_global_main) from a worker thread is a bad mistake. ASSERT (vm->thread_index == __os_thread_index) will catch it. Type: fix Signed-off-by: Dave Barach <dave@barachs.net> Change-Id: I55af6de84e06143f8f43adc62103b77267a7a441 (cherry picked from commit 77d98382824ca211fb55fcf842931930ccfb3baa)
Diffstat (limited to 'src/vlib/cli.h')
0 files changed, 0 insertions, 0 deletions