projects
/
platform
/
upstream
/
dotnet
/
runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4148613
)
Enable use of Volatile<T> on arm64 to get correct memory consistency (dotnet/coreclr...
author
Rahul Kumar
<rahku@microsoft.com>
Thu, 16 Mar 2017 04:11:22 +0000
(21:11 -0700)
committer
Jan Kotas
<jkotas@microsoft.com>
Thu, 16 Mar 2017 04:11:22 +0000
(21:11 -0700)
Commit migrated from https://github.com/dotnet/coreclr/commit/
271431af41f9a1a3287bb936e847ac6d8e2fb887
src/coreclr/src/inc/volatile.h
patch
|
blob
|
history
diff --git
a/src/coreclr/src/inc/volatile.h
b/src/coreclr/src/inc/volatile.h
index
c295f98
..
9531d98
100644
(file)
--- a/
src/coreclr/src/inc/volatile.h
+++ b/
src/coreclr/src/inc/volatile.h
@@
-479,7
+479,7
@@
public:
#else
// Disable use of Volatile<T> for GC/HandleTable code except on platforms where it's absolutely necessary.
-#if defined(_MSC_VER) && !defined(_ARM_)
+#if defined(_MSC_VER) && !defined(_ARM_)
&& !defined(_ARM64_)
#define VOLATILE(T) T RAW_KEYWORD(volatile)
#else
#define VOLATILE(T) Volatile<T>