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

Unified Diff: runtime/vm/atomic.h

Issue 1277473004: Safe and efficient stack-limit based interrupt checking in C++. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Explicitly signal task ready. Created 5 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 | « no previous file | runtime/vm/atomic_android.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/atomic.h
diff --git a/runtime/vm/atomic.h b/runtime/vm/atomic.h
index c256fe5e0a47dc660d474ffa740903ed8b99b165..6197f16ab7b7a2ad3669bd37d18a5e63d8122ba6 100644
--- a/runtime/vm/atomic.h
+++ b/runtime/vm/atomic.h
@@ -21,7 +21,11 @@ class AtomicOperations : public AllStatic {
// that are accessed by generated code
static uintptr_t FetchAndIncrement(uintptr_t* p);
+ static intptr_t FetchAndAdd(intptr_t* p, intptr_t delta);
+
static uword CompareAndSwapWord(uword* ptr, uword old_value, uword new_value);
+
+ static uword LoadRelaxed(uword* ptr);
};
« no previous file with comments | « no previous file | runtime/vm/atomic_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698