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

/external/chromium_org/v8/src/platform/
H A Dmutex.h122 // LockGuard<Mutex> guard(my_mutex.Pointer());
203 // LockGuard<RecursiveMutex> guard(my_mutex.Pointer());
215 // LockGuard
219 // When a LockGuard object is created, it attempts to take ownership of the
220 // mutex it is given. When control leaves the scope in which the LockGuard
221 // object was created, the LockGuard is destructed and the mutex is released.
222 // The LockGuard class is non-copyable.
225 class LockGuard V8_FINAL {
227 explicit LockGuard(Mutex* mutex) : mutex_(mutex) { mutex_->Lock(); } function in class:v8::internal::V8_FINAL
228 ~LockGuard() { mutex
[all...]

Completed in 148 milliseconds