hi guilleguillo: Have a look at v8.h start from line number 3830. Maybe solve your problem.
Daniel Chen On Tue, Nov 13, 2012 at 3:54 PM, Guillermo González Fernández < [email protected]> wrote: > Hi there! I am trying to embed v8's engine in an own application and I am > finding problems related to threads. Is it possible to compile and run > javascript code in a thread (main thread) and then access that > implementation from a different thread? > > I mean, I have a kind of plugin or shared object with a bunch of > interfaces that I want to implement from Javascript side. This module is > initialized from main thread, where javascript code is compiled and run, > later on, this code is called from a different thread owned by other > module, and then our 'segmentation fault' friend appears. Do I have to > compile the javascript code everytime I get a call from a different thread? > > Thanks in advance!! > > -- > 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
