http://codereview.chromium.org/2566002/diff/17001/18001
File include/v8.h (right):

http://codereview.chromium.org/2566002/diff/17001/18001#newcode2394
include/v8.h:2394: * given time.  The Locker/Unlocker API can be used to
synchronize.
This is not currently possible in this API draft. Locker / Unlocker
constructor need to accept Isolate instance to be able to synchronize.

http://codereview.chromium.org/2566002/diff/17001/18001#newcode2461
include/v8.h:2461: Isolate();
Following Locker statics go here:

/**
   * Returns whether v8::Locker is being used by this V8 instance.
   */
bool IsActive() { return active_; }

// Track whether this V8 instance has ever called v8::Locker. This
allows the
  // API code to verify that the lock is always held when V8 is being
entered.
  bool active_;

http://codereview.chromium.org/2566002/show

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to