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

Unified Diff: vm/thread.h

Issue 8370016: Revert https://code.google.com/p/dart/source/detail?r=597 (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 9 years, 2 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 | « vm/message_queue.cc ('k') | vm/thread_macos.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/thread.h
===================================================================
--- vm/thread.h (revision 621)
+++ vm/thread.h (working copy)
@@ -2,8 +2,8 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-#ifndef RUNTIME_VM_THREAD_H_
-#define RUNTIME_VM_THREAD_H_
+#ifndef VM_THREAD_H_
+#define VM_THREAD_H_
#include "vm/assert.h"
#include "vm/allocation.h"
@@ -70,7 +70,6 @@
void Exit();
// Wait for notification or timeout.
- // May return too early due to spurious wakeups. Callers should test for this.
WaitResult Wait(int64_t millis);
// Notify waiting threads.
@@ -119,7 +118,6 @@
// TODO(iposva): Consider decrementing the no GC scope here.
}
- // May return too early due to spurious wakeups. Callers should test for this.
Monitor::WaitResult Wait(int64_t millis = Monitor::kNoTimeout) {
return monitor_->Wait(millis);
}
@@ -141,4 +139,4 @@
} // namespace dart
-#endif // RUNTIME_VM_THREAD_H_
+#endif // VM_THREAD_H_
« no previous file with comments | « vm/message_queue.cc ('k') | vm/thread_macos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698