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

/external/webkit/JavaScriptCore/wtf/
H A DLocker.h35 template <typename T> class Locker : public Noncopyable { class in namespace:WTF
37 Locker(T& lockable) : m_lockable(lockable) { m_lockable.lock(); } function in class:WTF::Locker
38 ~Locker() { m_lockable.unlock(); }
45 using WTF::Locker;
/external/v8/src/
H A Dv8threads.cc45 // Track whether this V8 instance has ever called v8::Locker. This allows the
47 bool Locker::active_ = false;
50 // Constructor for the Locker object. Once the Locker is constructed the
52 Locker::Locker() : has_lock_(false), top_level_(true) { function in class:v8::Locker
53 // Record that the Locker has been used at least once.
61 // initialize here, before anyone can call ~Locker() or Unlocker().
82 bool Locker::IsLocked() {
87 Locker
[all...]
/external/v8/include/
H A Dv8.h2065 * If you are using threads then you should hold the V8::Locker lock while
2406 * lock has been acquired with a Locker object with that thread.
2415 * been acquired with a Locker object. Therefore, in order to be
2440 * acquired the V8 lock with a Locker object.
2737 * a v8::Locker object. After the code using V8 has completed for the
2744 * v8::Locker locker;
2752 * by destroying the v8::Locker object as above or by constructing a
2768 * The v8::Locker is a recursive lock. That is, you can lock more than
2773 * thread that is not inside a Locker's scope.
2781 * v8::Locker locke
2804 class V8EXPORT Locker { class in namespace:v8
[all...]

Completed in 60 milliseconds