While examining the v8 source, I've noticed that it appears to be
using some sort of user-level threading on top of native threads.  Why
was this design chosen?  Additionally, it seems to support preemption,
but not parallel execution of javascript tasks.  Why was this decision
made as well?  Are there any specific applications that make use of
v8's non-parallel threads (I don't believe Chromium does)?

Finally, when I try to execute two javascript tasks via the shell, it
errors.  For example:

./shell_g --preemption js1.js js2.js

#
# Fatal error in HandleScope::HandleScope
# Entering the V8 API without proper locking in place
#

Aborted

Is this something I'm doing incorrectly, or is this a problem with the
shell?  Both scripts consist only of a single "while(true);"
statement.

Thanks,
Kyle

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

Reply via email to