On Sat, Apr 2, 2011 at 11:07 AM, Marcel Laverdet <[email protected]>wrote:

> To be clear spawnTimeoutThread won't yield you any parallelism, yes? All it
> gets you is some kind of preemption and multiple stacks?
>

It uses v8::Locker in conjunction with timeout threads. When a timeout
expires, a Locker is created and code is run only when the Locker gets a
chance to interrupt v8. No, it won't yield any extra parallelism unless the
underlying code also unlocks v8.

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

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

Reply via email to