Lines Matching defs:MutexLock
145 // Mutex, MutexLock, ThreadLocal, GetThreadCount()
1393 // with class MutexLock:
1397 // MutexLock lock(&mutex); // Acquires the mutex and releases it at the
1453 // We cannot name this class MutexLock because the ctor declaration would
1454 // conflict with a macro named MutexLock, which is defined on some
1456 // inadvertent misuses of MutexLock like "MutexLock(&mu)" rather than
1457 // "MutexLock l(&mu)". Hence the typedef trick below.
1471 typedef GTestMutexLock MutexLock;
1708 // We cannot name this class MutexLock because the ctor declaration would
1709 // conflict with a macro named MutexLock, which is defined on some
1711 // inadvertent misuses of MutexLock like "MutexLock(&mu)" rather than
1712 // "MutexLock l(&mu)". Hence the typedef trick below.
1726 typedef GTestMutexLock MutexLock;
1832 // We cannot name this class MutexLock because the ctor declaration would
1833 // conflict with a macro named MutexLock, which is defined on some
1835 // inadvertent misuses of MutexLock like "MutexLock(&mu)" rather than
1836 // "MutexLock l(&mu)". Hence the typedef trick below.
1842 typedef GTestMutexLock MutexLock;