Add thread information to the debugger.
authorsgjesse@chromium.org <sgjesse@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 17 Mar 2009 11:40:47 +0000 (11:40 +0000)
committersgjesse@chromium.org <sgjesse@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 17 Mar 2009 11:40:47 +0000 (11:40 +0000)
commit37d7dcd20c4b1b2a0c310cee0a1a2a830e746645
treed29037100949ec34a399835e8db681d1f7219225
parent223ea84e564d92af429433874e6ebaea7c3988e3
Add thread information to the debugger.

Each thread running V8 code is assigned an id in thread local storage the first time V8 code is run in it. The thread information returned to the debugger contains the number of threads, the id of each of these threads and which one is the current thread.

Added a threads command to the developer shell debugger for showing information on threads.
Review URL: http://codereview.chromium.org/48009

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1523 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/d8.js
src/debug-delay.js
src/runtime.cc
src/runtime.h
src/v8threads.cc
src/v8threads.h