Lines Matching defs:Mutex
212 // Mutex, MutexLock, ThreadLocal, GetThreadCount()
1641 // Mutex and ThreadLocal have already been imported into the namespace.
1646 // Mutex implements mutex on Windows platforms. It is used in conjunction
1649 // Mutex mutex;
1654 // A static Mutex *must* be defined or declared using one of the following
1659 // (A non-static Mutex is defined/declared in the usual way).
1660 class GTEST_API_ Mutex {
1671 explicit Mutex(StaticConstructorSelector /*dummy*/) {}
1673 Mutex();
1674 ~Mutex();
1698 GTEST_DISALLOW_COPY_AND_ASSIGN_(Mutex);
1702 extern ::testing::internal::Mutex mutex
1705 ::testing::internal::Mutex mutex(::testing::internal::Mutex::kStaticMutex)
1714 explicit GTestMutexLock(Mutex* mutex)
1720 Mutex* const mutex_;
1923 // MutexBase and Mutex implement mutex on pthreads-based platforms.
1975 // The Mutex class can only be used for mutexes created at runtime. It
1977 class Mutex : public MutexBase {
1979 Mutex() {
1983 ~Mutex() {
1988 GTEST_DISALLOW_COPY_AND_ASSIGN_(Mutex);
2136 class Mutex {
2138 Mutex() {}
2145 extern ::testing::internal::Mutex mutex
2147 # define GTEST_DEFINE_STATIC_MUTEX_(mutex) ::testing::internal::Mutex mutex
2156 explicit GTestMutexLock(Mutex*) {} // NOLINT