Thank you.... I feared that might be the case, but I had to ask to be sure. I am going to have to sit down and rethink how I am going to do this. I'm concerned about using v8::Locker on a single isolate because some functions won't necessarily return right away and I don't want to block other threads from doing their thing. Again though, that might just involve rethinking the way I am trying to do things.
Thanks again On Wednesday, August 13, 2014 4:24:45 PM UTC-7, Ben Noordhuis wrote: > > Hi, the short answer to your question is "that's not possible." > > When you say "context", you mean a v8::Context, right? You can > compile scripts in a way that is context-independent (meaning you can > run them in multiple contexts in the same isolate) but you cannot move > them from one isolate to another. > > You can use the same isolate in multiple threads (with appropriate use > of the v8::Locker and v8::Unlocker APIs) but whether that's useful to > you, is something you'll have to decide for yourself. :-) > -- -- v8-users mailing list [email protected] http://groups.google.com/group/v8-users --- You received this message because you are subscribed to the Google Groups "v8-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
