On 10 Apr, 11:16, [email protected] wrote:
> On 10 Apr, 09:55, Erik Corry <[email protected]> wrote:
>
> > 2009/4/10  <[email protected]>:
> > > This works for a while, then I get arbitrary crashes in V8 since
> > > something tries to use some Handle value that is dead.
>
> > Without having read your code I just wonder: Are you by any chance
> > calling V8 from more than one thread?  See the comments around the
> > Locker class in include/v8.h for details of the rules for
> > multithreaded V8 programs.
>
> Thanks for the heads-up, but my code is single-thread.
> I'm running as extension of the shell example.

...or rather not. I retract and assert the opposite.
The thread in which the callback runs is not the same as main thread.

Time to look up how to run JS functions from different threads...

Thanks also to Ryan Dahl for this point,

    k

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

Reply via email to