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
The (singleton) logger can be called from multiple threads at once, but
it writes the m_needs_leading_return member variable. This commit turns
that variable into an atomic to fix this.
This also moves some logic out of the generate_common_prefix() function
so that we can make it const. This makes it easier to see that the code
is now thread-safe.
0 commit comments