Lines Matching defs:MutexLock
212 // Mutex, MutexLock, ThreadLocal, GetThreadCount()
1647 // with class MutexLock:
1651 // MutexLock lock(&mutex); // Acquires the mutex and releases it at the
1707 // We cannot name this class MutexLock because the ctor declaration would
1708 // conflict with a macro named MutexLock, which is defined on some
1710 // inadvertent misuses of MutexLock like "MutexLock(&mu)" rather than
1711 // "MutexLock l(&mu)". Hence the typedef trick below.
1725 typedef GTestMutexLock MutexLock;
1991 // We cannot name this class MutexLock because the ctor declaration would
1992 // conflict with a macro named MutexLock, which is defined on some
1994 // inadvertent misuses of MutexLock like "MutexLock(&mu)" rather than
1995 // "MutexLock l(&mu)". Hence the typedef trick below.
2009 typedef GTestMutexLock MutexLock;
2149 // We cannot name this class MutexLock because the ctor declaration would
2150 // conflict with a macro named MutexLock, which is defined on some
2152 // inadvertent misuses of MutexLock like "MutexLock(&mu)" rather than
2153 // "MutexLock l(&mu)". Hence the typedef trick below.
2159 typedef GTestMutexLock MutexLock;