I'm writing an application that uses multiple threads. Each thread needs to have it's own separate V8 instance. I'm writing an API wrapper to access V8 from another language. The threads are managed in this other language.
Is there any simple examples on how to properly use Isolate? Is there any way to create an initial V8 instance with "built in" JavaScript (to compile - snapshot) and replicate that in the other threads. I saw this bug report which sort of shows how to use it: http://code.google.com/p/v8/issues/detail?id=1432 (Is this report still an issue?) Seems that the Isolate only lasts as long as the scope? Is that the case? This report shows that (the same code mentioned in the other report) lockers wasn't used correctly: http://code.google.com/p/v8/issues/detail?id=1433 So how do I use it properly? What do I need to pass back to the threads? The context? Thanks! Luke -- v8-users mailing list [email protected] http://groups.google.com/group/v8-users
