Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1659)

Unified Diff: runtime/bin/dbg_connection.h

Issue 10384016: Eliminate busy waiting for debugger connection (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | runtime/bin/dbg_connection.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/dbg_connection.h
===================================================================
--- runtime/bin/dbg_connection.h (revision 7346)
+++ runtime/bin/dbg_connection.h (working copy)
@@ -56,6 +56,10 @@
// closed by a VM thread.
static int debugger_fd_;
+ // The VM thread waits on this condition variable when it reaches a
+ // breakpoint and the debugger client has not connected yet.
+ static dart::Monitor is_connected_;
+
static MessageBuffer* msgbuf_;
friend class DebuggerConnectionImpl;
« no previous file with comments | « no previous file | runtime/bin/dbg_connection.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698