Index: src/debug-agent.h |
=================================================================== |
--- src/debug-agent.h (revision 6139) |
+++ src/debug-agent.h (working copy) |
@@ -44,7 +44,8 @@ |
class DebuggerAgent: public Thread { |
public: |
explicit DebuggerAgent(const char* name, int port) |
- : name_(StrDup(name)), port_(port), |
+ : Thread(name), |
+ name_(StrDup(name)), port_(port), |
server_(OS::CreateSocket()), terminate_(false), |
session_access_(OS::CreateMutex()), session_(NULL), |
terminate_now_(OS::CreateSemaphore(0)), |
@@ -90,7 +91,8 @@ |
class DebuggerAgentSession: public Thread { |
public: |
DebuggerAgentSession(DebuggerAgent* agent, Socket* client) |
- : agent_(agent), client_(client) {} |
+ : Thread("v8:DbgAgntSessn"), |
+ agent_(agent), client_(client) {} |
void DebuggerMessage(Vector<uint16_t> message); |
void Shutdown(); |