Home | History | Annotate | Download | only in src

Lines Matching defs:Locker

40 // Track whether this V8 instance has ever called v8::Locker. This allows the
42 bool Locker::active_ = false;
45 // Constructor for the Locker object. Once the Locker is constructed the
47 Locker::Locker(v8::Isolate* isolate)
54 // Record that the Locker has been used at least once.
63 // initialize here, before anyone can call ~Locker() or Unlocker().
70 // This may be a locker within an unlocker in which case we have to
88 bool Locker::IsLocked(v8::Isolate* isolate) {
97 bool Locker::IsActive() {
102 Locker::~Locker() {
142 void Locker::StartPreemption(int every_n_ms) {
147 void Locker::StopPreemption() {
422 ASSERT(Locker::IsLocked(reinterpret_cast<v8::Isolate*>(isolate)));
439 ASSERT(Locker::IsLocked(reinterpret_cast<v8::Isolate*>(isolate)));
465 ASSERT(Locker::IsLocked());