Further to this, my understanding is that in order to process phantom 
handles generated by weak callbacks, I need to call `PumpMessageLoop` 
periodically. The comment above this function says this:

> The caller has to make sure that this is called from the right thread.

What's the "right" thread in this context? If it's the same thread that 
runs the script, how can one pump the message loop if the script never 
returns? Am I supposed to synchronize with the script thread in v8 
callbacks and pump for messages?


-- 
-- 
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/d/optout.

Reply via email to