Rvo runFlag.Wait() abnormal

in Android runFlag.Wait() sometimes usetime abnormal

but sometime it is good

That code is just waiting for the multithreaded local avoidance calculations to finish. There’s nothing particularly abnormal about it, I think?

workone:its mean local avoidance calculations BUT it just use 0.01ms
workrun:its mean runflag.wait but it use 2.44ms
This causes the main thread to get stuck abnormally, Originally, the main thread only needed 0.01ms but new the main thread needed 2.44ms event more time

I suspect it is the problem of runflag.wait itself or other?