Lines Matching defs:Locker
3965 * If you are using threads then you should hold the V8::Locker lock while
4157 * given time. The Locker/Unlocker API must be used to synchronize.
4197 Locker) in
4855 * acquired the V8 lock with a Locker object.
4885 * acquired the V8 lock with a Locker object.
5336 * mechanism that may be used, the v8::Locker and v8::Unlocker classes must be
5339 * v8::Locker is a scoped lock object. While it's active, i.e. between its
5342 * any time. In other words, the scope of a v8::Locker is a critical section.
5348 * v8::Locker locker(isolate);
5357 * destroying the v8::Locker object as above or by constructing a v8::Unlocker
5374 * The v8::Locker is a recursive lock, i.e. you can lock more than once in a
5378 * you can not use an Unlocker in a thread that is not inside a Locker's scope.
5386 * v8::Locker locker(isolate);
5390 * v8::Locker another_locker(isolate);
5420 class V8_EXPORT Locker {
5423 * Initialize Locker for a given Isolate.
5425 V8_INLINE explicit Locker(Isolate* isolate) { Initialize(isolate); }
5427 ~Locker();
5430 * Returns whether or not the locker for a given isolate, is locked by the
5436 * Returns whether v8::Locker is being used by this V8 instance.
5450 Locker(const Locker&);
5451 void operator=(const Locker&);