Home | History | Annotate | Download | only in Support

Lines Matching defs:mutex

84     /// SmartMutex - An R/W mutex with a compile time constant parameter that
85 /// indicates whether this mutex should become a no-op when we're not
147 SmartRWMutex<mt_only>& mutex;
149 explicit SmartScopedReader(SmartRWMutex<mt_only>& m) : mutex(m) {
150 mutex.lock_shared();
154 mutex.unlock_shared();
163 SmartRWMutex<mt_only>& mutex;
165 explicit SmartScopedWriter(SmartRWMutex<mt_only>& m) : mutex(m) {
166 mutex.lock();
170 mutex.unlock();