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

Unified Diff: runtime/bin/dbg_connection.cc

Issue 471743002: - Make sure that the threads for dart::bin are in the correct namespace. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 4 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 | « runtime/bin/dbg_connection.h ('k') | runtime/bin/dbg_connection_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/dbg_connection.cc
===================================================================
--- runtime/bin/dbg_connection.cc (revision 39229)
+++ runtime/bin/dbg_connection.cc (working copy)
@@ -24,7 +24,7 @@
extern bool trace_debug_protocol;
intptr_t DebuggerConnectionHandler::listener_fd_ = -1;
-dart::Monitor* DebuggerConnectionHandler::handler_lock_ = new dart::Monitor();
+Monitor* DebuggerConnectionHandler::handler_lock_ = new Monitor();
// TODO(asiva): Remove this once we have support for multiple debugger
// connections. For now we just store the single debugger connection
@@ -346,8 +346,8 @@
return;
}
while (!IsConnected()) {
- dart::Monitor::WaitResult res = ml.Wait();
- ASSERT(res == dart::Monitor::kNotified);
+ Monitor::WaitResult res = ml.Wait();
+ ASSERT(res == Monitor::kNotified);
}
}
@@ -395,7 +395,7 @@
intptr_t remaining = msg->length();
intptr_t sent = 0;
const intptr_t max_piece_len = 122; // Pretty arbitrary, not a power of 2.
- dart::Monitor sleep;
+ Monitor sleep;
while (remaining > 0) {
intptr_t piece_len = remaining;
if (piece_len > max_piece_len) {
« no previous file with comments | « runtime/bin/dbg_connection.h ('k') | runtime/bin/dbg_connection_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698