Removed the debug message thread.
authorsgjesse@chromium.org <sgjesse@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 24 Apr 2009 12:05:40 +0000 (12:05 +0000)
committersgjesse@chromium.org <sgjesse@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 24 Apr 2009 12:05:40 +0000 (12:05 +0000)
commit8fefc769f5274be04fa43f843dcbc1794bfc6210
tree617804ae0638f635a6dbcd0ef1737000114a4a10
parent2060dc1512c43bbf314b17fc03fc32f0b874a49b
Removed the debug message thread.

The debug message thread was introduced to make it possible to have the message handler callback be called from a different thread than the thread running V8 where the debug event occoured, but it never had any practical use, and prevents providing information to the message handler which is only available from the V8 thread.

In the future any thread decoupling will have do be done by the embedder.

This also removes the queue used for outbound messages.

Renamed the class Message to CommandMessage as it is only used for debugger commands from the client. Related message queue classes has also been renamed.
Review URL: http://codereview.chromium.org/93118

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1788 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
include/v8-debug.h
src/api.cc
src/debug-agent.cc
src/debug.cc
src/debug.h
src/v8.cc
test/cctest/test-debug.cc