Thanks, but maybe I didn't describe my problem clearly. In fact I'm trying to use v8::Local<v8::Value>. I just put it in the std::vector in the nodjs main thread. and when I try to access the value from another thread in addon, it will not work. Any ideas?
On Thursday, April 11, 2013 10:49:28 AM UTC+8, Herman Junge wrote: > > Quick and Dirty? Store the value in a key using Redis. > > YMMV, of course. > > H.- > > On 4/10/13 11:45 PM, Jerry Yin wrote: > > Hi, > > > > I worked on an addon and tried to put some Value in a global > > std::vector, and try to use it later in another thread. > > > > While when I try to access the Value, it will throw some error related > > to isolation. > > > > How to make the value accessible in another thread? > > > > Thanks. > > Jerry > > -- > > > > -- -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en --- You received this message because you are subscribed to the Google Groups "nodejs" 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/groups/opt_out.
