Hi Stephan, I'm not sure that should be needed? If you are using lockers the thread that is performing the weak pointer callback is using V8 right now (V8 is performing a GC on that thread). Therefore, you are already holding the locker with that thread and acquiring another locker should always succeed (but not be needed).
Cheers, -- Mads On Wed, Jun 15, 2011 at 8:49 PM, Stephan Beal <[email protected]> wrote: > Hi, gurus! > > Is it legal to use v8::Locker in the context of a weak pointer callback? > > -- > ----- stephan beal > http://wanderinghorse.net/home/stephan/ > > -- > 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
