join with googlegroups. thank you On 20/04/2011, joko suwito <[email protected]> wrote: > On 20/04/2011, Matt Seegmiller <[email protected]> wrote: >> What about using Isolates? If I understand them correctly, they allow >> for >> multiple instances of V8 running from different threads interacting with >> different contexts and JS objects at the same time. For anyone working >> on >> them, is that correct? And are they ready to be used? Last time I >> looked >> into them (> 6 months ago) they were still in an experimental state, but >> recently when I updated to a 3.x version of V8 I had a crash when looking >> for a default Isolate that wasn't there (turned out I was trying to clean >> up >> V8 objects from a thread different than what allocated them). So I got >> the >> impression that maybe they can be used now. >> >> matt >> >> On Tue, Apr 19, 2011 at 2:53 AM, Stephan Beal <[email protected]> >> wrote: >> >>> On Tue, Apr 19, 2011 at 6:25 AM, TengAttack <[email protected]> >>> wrote: >>> >>>> Hello, Can v8 Engine Run different javascript in multi-thread in the >>>> same time? >>>> I got the infomation from internet, they said it should v8::Locker, >>>> but I don't want to use it. >>>> How should I do? >>> >>> >>> You have to use Locker. v8 cannot run JS in multiple threads at the same >>> time. Client code must use Locker to synchronize the threads. >>> >>> -- >>> ----- stephan beal >>> http://wanderinghorse.net/home/stephan/ >>> >>> -- >>> v8-users mailing list >>> [email protected] >>> http://groups.google.com/group/v8-users >>> >> >> -- >> v8-users mailing list >> [email protected] >> http://groups.google.com/group/v8-users >
-- v8-users mailing list [email protected] http://groups.google.com/group/v8-users
