summarylogtreecommitdiffstats
path: root/0002-stats-thread_local_cache-thread-safety.patch
blob: c243f6a1204b9674a868b8f3934a3cab99b113a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -Naur a/source/common/stats/thread_local_store.h b/source/common/stats/thread_local_store.h
--- a/source/common/stats/thread_local_store.h	2025-10-17 13:14:03.000000000 -0400
+++ b/source/common/stats/thread_local_store.h	2025-10-20 19:10:23.650491308 -0400
@@ -433,7 +433,7 @@
     // scope->central_cache_, the analysis system cannot understand that the
     // scope's parent_.lock_ is held, so we assert that here.
     const CentralCacheEntrySharedPtr& centralCacheLockHeld() const
-        ABSL_EXCLUSIVE_LOCKS_REQUIRED(parent_.lock_) {
+        ABSL_EXCLUSIVE_LOCKS_REQUIRED(parent_.lock_) ABSL_NO_THREAD_SAFETY_ANALYSIS {
       return central_cache_;
     }