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

Unified Diff: runtime/vm/isolate.h

Issue 1259223005: Safepoint interface and unit tests. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Ready for review. Created 5 years, 5 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
Index: runtime/vm/isolate.h
diff --git a/runtime/vm/isolate.h b/runtime/vm/isolate.h
index a7aa4fcd78966f34eb4de1aa4f32b5a10398d689..7863b9585a71e13926be8d75b3fca04330f192a8 100644
--- a/runtime/vm/isolate.h
+++ b/runtime/vm/isolate.h
@@ -328,11 +328,13 @@ class Isolate : public BaseIsolate {
kApiInterrupt = 0x1, // An interrupt from Dart_InterruptIsolate.
kMessageInterrupt = 0x2, // An interrupt to process an out of band message.
kStoreBufferInterrupt = 0x4, // An interrupt to process the store buffer.
+ kSafepointInterrrupt = 0x8, // An interrupt to bring threads to safepoint.
kInterruptsMask =
kApiInterrupt |
kMessageInterrupt |
- kStoreBufferInterrupt,
+ kStoreBufferInterrupt |
+ kSafepointInterrrupt,
};
void ScheduleInterrupts(uword interrupt_bits);

Powered by Google App Engine
This is Rietveld 408576698