Reviewers: zarko,
Message:
On 2010/07/23 22:26:28, zarko wrote:
This looks good! Are you sure the single initializing thread assumption
is a
safe one to make (wrt creating the global mutex)? Is it possible to use
pthread_once()?
Yep, the idea is that normally this is done by static initializer, or (rare
case) by explicit call to EnsureDefaultIsolate() if we have a case when v8
is
used during static initialization and order can be a problem.
Description:
Implement Isolate API and some tests.
Please review this at http://codereview.chromium.org/2836067/show
Affected files:
M include/v8.h
M src/api.cc
M src/isolate.h
M src/isolate.cc
M src/v8.cc
M src/v8threads.h
M src/v8threads.cc
M test/cctest/cctest.cc
M test/cctest/test-api.cc
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev