-
-
Notifications
You must be signed in to change notification settings - Fork 671
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BUG: fixed concurrant writes to an ivar found by Thread Sanitizer
Multiple threads call this method which all write to this->m_ANTSAssociate simultaneously. At least they are writing the same thing, but it's still undefined behaviour without any mutex or similar protection. Used std::call_once to ensure only one writer actually writes.
- Loading branch information
1 parent
d5a91d1
commit ed6d2d1
Showing
2 changed files
with
8 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters