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

Unified Diff: runtime/vm/lockers.h

Issue 1541073002: Implement safepointing of threads (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: fix-typo Created 4 years, 11 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/vm/isolate.cc ('k') | runtime/vm/lockers.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/lockers.h
diff --git a/runtime/vm/lockers.h b/runtime/vm/lockers.h
index f3f5540353b52b0ea6b119526a82f6fc5f84ddf1..42b09841d19cc1d065228fadf4d2480e1ac929ab 100644
--- a/runtime/vm/lockers.h
+++ b/runtime/vm/lockers.h
@@ -50,6 +50,9 @@ class MonitorLocker : public ValueObject {
return monitor_->Wait(millis);
}
+ Monitor::WaitResult WaitWithSafepointCheck(
+ Thread* thread, int64_t millis = Monitor::kNoTimeout);
+
Monitor::WaitResult WaitMicros(int64_t micros = Monitor::kNoTimeout) {
return monitor_->WaitMicros(micros);
}
« no previous file with comments | « runtime/vm/isolate.cc ('k') | runtime/vm/lockers.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698