2009/10/7 Søren Gjesse <[email protected]>:
>
> However it looks as if you are looking for the opposite that is a callback
> when a debug message is received and the embedding application needs to
> enter V8 to process these messages. You could try to have your select() call
> time out every 100ms or so and call an empty JavaScript function to simulate
> such a callback. If we where to put in such a callback it would be called
> from the debugger agent thread and the embedding application would then have
> to marshal that into a call into V8 from it's V8 thread.
> You will also have to enable the flag --debugger-auto-break for V8 to
> generate an automatic break for processing debug messages.

Is it possible to be notified (via callback) outside of my main thread
(from the DebuggerAgent thread) about received messages? I would like
to use such a callback to write a byte to a pipe to wake up my
select(), this would avoid polling every 100 ms.

Thank you, ry

--~--~---------~--~----~------------~-------~--~----~
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to