-
Notifications
You must be signed in to change notification settings - Fork 494
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CosmosDiagnostics: Fixes concurrent operations (#2116)
This makes the CosmosDiagnostics thread safe by adding a lock to adding information to the diagnostic list. Benchmarks showed no changes from adding the lock which is likely because most of the diagnostics is not done concurrently.
- Loading branch information
Showing
2 changed files
with
95 additions
and
20 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