Well you should really create a locker *before* you create a HandleScope. On Jun 7, 2013 6:47 PM, "papi" <nokan...@gmail.com> wrote:
> Also, did you make sure that _all_ the code - including the code on main >> thread - that you execute in gIsolate is protected by v8::Locker? > > > Hmm, i get my problem. > > I made that class > class HandleScopeThreadSafety > { > v::HandleScope handleScope; > v::Locker locker; > public: > HandleScopeThreadSafety(v::Isolate* pIsolate) > : handleScope(pIsolate), > locker(pIsolate) > {} > }; > > and im just making an instance before i call something from v8. And no > problem. Thx you!!! > > PS: About handlescope, i got an instance over the winapi message loop (its > like a "global" handlescope) but i remove it cuz.... i dont know why i put > it at the first place my bad hehe. > > > Btw, there no predefined XMLHttpRequest, but why v8 needs ws32_2.lib ? > > -- > -- > v8-users mailing list > v8-users@googlegroups.com > 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 v8-users+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- -- v8-users mailing list v8-users@googlegroups.com 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 v8-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.