fix __all_virtual_thread result incorrect

This commit is contained in:
nroskill
2023-05-11 10:13:16 +00:00
committed by ob-robot
parent aaab6560a1
commit caaed5132f
14 changed files with 48 additions and 11 deletions

View File

@ -81,6 +81,7 @@ private:
}
if (OB_FAIL(back_thread_->init_and_start([this]() {
while(true) {
IGNORE_RETURN lib::Thread::update_loop_ts();
if (!back_thread_->is_stopped()) {
for (int64_t idx = 0; idx < MAX_THREAD_NUM; ++idx) {
ClickPoint point = points_[idx].atomic_copy();