Searched defs:LockGuard (Results 1 - 1 of 1) sorted by relevance

/external/chromium_org/v8/src/base/platform/
H A Dmutex.h100 // LockGuard<Mutex> guard(my_mutex.Pointer());
180 // LockGuard<RecursiveMutex> guard(my_mutex.Pointer());
192 // LockGuard
196 // When a LockGuard object is created, it attempts to take ownership of the
197 // mutex it is given. When control leaves the scope in which the LockGuard
198 // object was created, the LockGuard is destructed and the mutex is released.
199 // The LockGuard class is non-copyable.
202 class LockGuard FINAL {
204 explicit LockGuard(Mutex* mutex) : mutex_(mutex) { mutex_->Lock(); } function in class:v8::base::FINAL
205 ~LockGuard() { mutex
[all...]

Completed in 92 milliseconds