You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix compiler optimize thread local variable access
`bthread_usleep`/`bthread_yield` contains access to TLS variables.
In LTO mode, exceptions may occur due to cross-module optimization.
For example, bthread_usleep is inlined into WatchConnections,
the compiler(clang-17.0.6) cache the address outside the loop,
triggering the error mentioned in #2156.
0 commit comments