On Sat, May 17, 2014 at 4:31 PM, Zinglish <[email protected]> wrote: > I am trying to pass FunctionCallbackInfo into a new thread. However when I > try this I get a Segmentation Fault (I know why). How do I persist the > arguments that are passed into the thread? Basically I wanted to do a simple > setTimeout function just like in a standard browser. Could someone provide > some very quick examples I could read through and get a grip on how to > persist the arguments?
I think you want v8::Persistent<T> but note that it's not safe to access V8 from another thread without careful synchronization using v8::Locker and v8::Unlocker objects. -- -- 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.
