diff options
| author | 2012-06-18 16:51:20 -0700 | |
|---|---|---|
| committer | 2012-06-18 16:51:20 -0700 | |
| commit | 72d63d4bc4387bd636315f16dc81cf4874905569 (patch) | |
| tree | 9cdd02f5ec55d5799b73342b16bc1d661e7bfb3c | |
| parent | d9fd368311d26bbffc0fc9411c0d5082af27219d (diff) | |
Fix misleading mutex_test.cc comments.
Change-Id: If0ea3c09d61a05fcd2e5bdef31a4f79a07d94a28
| -rw-r--r-- | src/mutex_test.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mutex_test.cc b/src/mutex_test.cc index 4931551728..4220f2b2ec 100644 --- a/src/mutex_test.cc +++ b/src/mutex_test.cc @@ -42,7 +42,7 @@ TEST(Mutex, LockUnlock) { MutexTester::AssertDepth(mu, 0U); } -// GCC doesn't get recursive mutexes, so we have to turn off thread safety analysis. +// GCC has trouble with our mutex tests, so we have to turn off thread safety analysis. static void TryLockUnlockTest() NO_THREAD_SAFETY_ANALYSIS { Mutex mu("test mutex"); MutexTester::AssertDepth(mu, 0U); @@ -56,7 +56,7 @@ TEST(Mutex, TryLockUnlock) { TryLockUnlockTest(); } -// GCC doesn't get recursive mutexes, so we have to turn off thread safety analysis. +// GCC has trouble with our mutex tests, so we have to turn off thread safety analysis. static void RecursiveLockUnlockTest() NO_THREAD_SAFETY_ANALYSIS { Mutex mu("test mutex"); MutexTester::AssertDepth(mu, 0U); @@ -74,7 +74,7 @@ TEST(Mutex, RecursiveLockUnlock) { RecursiveLockUnlockTest(); } -// GCC doesn't get recursive mutexes, so we have to turn off thread safety analysis. +// GCC has trouble with our mutex tests, so we have to turn off thread safety analysis. static void RecursiveTryLockUnlockTest() NO_THREAD_SAFETY_ANALYSIS { Mutex mu("test mutex"); MutexTester::AssertDepth(mu, 0U); |