Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(from:
77d9838
)
vlib: add ASSERT to vlib_time_now(...)
64/26764/2
author
Dave Barach
<dave@barachs.net>
Tue, 28 Apr 2020 22:00:21 +0000
(18:00 -0400)
committer
Florin Coras
<florin.coras@gmail.com>
Tue, 28 Apr 2020 23:04:23 +0000
(23:04 +0000)
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: improvement
Signed-off-by: Dave Barach <dave@barachs.net>
Change-Id: I55af6de84e06143f8f43adc62103b77267a7a441
No differences found