Thanks for your reply. I used locks.

My question is how to share a v8::Local<v8::Value> between thread?

On Thursday, April 11, 2013 4:24:45 PM UTC+8, Floby wrote:
>
> Anything you touch from multiple thread must get a lock
> http://msdn.microsoft.com/en-us/magazine/cc163744.aspx#S3
>
>>
>>> 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 
>>> thin> 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.


Reply via email to