Skip to content

Commit f3eff47

Browse files
Abseil Teamderekmauro
authored andcommitted
Export of internal Abseil changes
-- 1e0b6c504e9edc93ac08de320454b0e7f61f2028 by Derek Mauro <[email protected]>: Use ABSL_NO_THREAD_SAFETY_ANALYSIS instead of the no-namespace NO_THREAD_SAFETY_ANALYSIS PiperOrigin-RevId: 363914253 GitOrigin-RevId: 1e0b6c504e9edc93ac08de320454b0e7f61f2028 Change-Id: Iea54f88130d93066e1e4a4747e902f1029500f71
1 parent 110a80b commit f3eff47

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

absl/synchronization/mutex_test.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -852,7 +852,7 @@ TEST(Mutex, MutexReaderDecrementBug) ABSL_NO_THREAD_SAFETY_ANALYSIS {
852852
// held and then destroyed (w/o unlocking).
853853
#ifdef ABSL_HAVE_THREAD_SANITIZER
854854
// TSAN reports errors when locked Mutexes are destroyed.
855-
TEST(Mutex, DISABLED_LockedMutexDestructionBug) NO_THREAD_SAFETY_ANALYSIS {
855+
TEST(Mutex, DISABLED_LockedMutexDestructionBug) ABSL_NO_THREAD_SAFETY_ANALYSIS {
856856
#else
857857
TEST(Mutex, LockedMutexDestructionBug) ABSL_NO_THREAD_SAFETY_ANALYSIS {
858858
#endif
@@ -1153,7 +1153,7 @@ TEST(Mutex, DeadlockDetectorStressTest) ABSL_NO_THREAD_SAFETY_ANALYSIS {
11531153

11541154
#ifdef ABSL_HAVE_THREAD_SANITIZER
11551155
// TSAN reports errors when locked Mutexes are destroyed.
1156-
TEST(Mutex, DISABLED_DeadlockIdBug) NO_THREAD_SAFETY_ANALYSIS {
1156+
TEST(Mutex, DISABLED_DeadlockIdBug) ABSL_NO_THREAD_SAFETY_ANALYSIS {
11571157
#else
11581158
TEST(Mutex, DeadlockIdBug) ABSL_NO_THREAD_SAFETY_ANALYSIS {
11591159
#endif

0 commit comments

Comments
 (0)