Hi, gurus,

The API docs for Isolates say:

> When V8 <classv8_1_1V8.html> is initialized a default isolate is
implicitly created and entered.

And the Enter() docs say:

> Methods below this point require holding a lock (using 
> Locker<classv8_1_1Locker.html>)
in a multi-threaded environment.


The implication of that is that the default isolate must be using a Locker
(or else it couldn't/shouldn't have been Entered, right?).

That does not, however, jive with what i'm seeing. i removed my app's
top-level Locker instance based on the above wording, but i'm then getting:

CHECK(isolate_->thread_manager()->IsLockedByCurrentThread())

when i use Unlocker().

No big deal - i just read-add my top-level Locker. But it's not consistent
with my interpretation of the API docs.

-- 
----- stephan beal
http://wanderinghorse.net/home/stephan/

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

Reply via email to