v8.h | v8.h | |||
---|---|---|---|---|
skipping to change at line 3532 | skipping to change at line 3532 | |||
/** | /** | |||
* Returns whether or not the locker for a given isolate, or default isol ate if NULL is given, | * Returns whether or not the locker for a given isolate, or default isol ate if NULL is given, | |||
* is locked by the current thread. | * is locked by the current thread. | |||
*/ | */ | |||
static bool IsLocked(Isolate* isolate = NULL); | static bool IsLocked(Isolate* isolate = NULL); | |||
/** | /** | |||
* Returns whether v8::Locker is being used by this V8 instance. | * Returns whether v8::Locker is being used by this V8 instance. | |||
*/ | */ | |||
static bool IsActive() { return active_; } | static bool IsActive(); | |||
private: | private: | |||
bool has_lock_; | bool has_lock_; | |||
bool top_level_; | bool top_level_; | |||
internal::Isolate* isolate_; | internal::Isolate* isolate_; | |||
static bool active_; | static bool active_; | |||
// Disallow copying and assigning. | // Disallow copying and assigning. | |||
Locker(const Locker&); | Locker(const Locker&); | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||