diff options
author | 2020-04-28 18:00:21 -0400 | |
---|---|---|
committer | 2020-04-28 23:04:23 +0000 | |
commit | 77d98382824ca211fb55fcf842931930ccfb3baa (patch) | |
tree | c0ec1d4b678577849194676bb53409f6d49e696a /gmod | |
parent | 635f5068f0802ec1fe34c998b72fb2f626259050 (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: improvement
Signed-off-by: Dave Barach <dave@barachs.net>
Change-Id: I55af6de84e06143f8f43adc62103b77267a7a441
Diffstat (limited to 'gmod')
0 files changed, 0 insertions, 0 deletions