Added labelled thread names to help with some debugging activity. Right now,
authorsgjesse@chromium.org <sgjesse@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 4 Jan 2011 09:09:50 +0000 (09:09 +0000)
committersgjesse@chromium.org <sgjesse@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 4 Jan 2011 09:09:50 +0000 (09:09 +0000)
commitc89021d16202600e8822dfed25c18c07dfed43c8
tree393d54eac4ac7e1150d8ea8d779802508e265032
parentc28bde775c0fa1028d0dcc0625e898f7cbc2af37
Added labelled thread names to help with some debugging activity. Right now,
the only platform that it works on is linux (using the prctl API to set the
names of the threads). Other platforms are setup to build properly if the
flag is set, but their thread names are not currently set.

Patch by Mark Lam from Hewlett-Packard Development Company, LP

Review URL: http://codereview.chromium.org/6070009

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@6141 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
16 files changed:
src/cpu-profiler.cc
src/d8-debug.h
src/d8.cc
src/debug-agent.h
src/debug.cc
src/log.cc
src/platform-freebsd.cc
src/platform-linux.cc
src/platform-macos.cc
src/platform-nullos.cc
src/platform-openbsd.cc
src/platform-solaris.cc
src/platform-win32.cc
src/platform.h
src/top.cc
src/v8threads.cc