Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Vorlicek <janvorli@microsoft.com>2015-11-25 11:12:24 +0300
committerJan Vorlicek <janvorli@microsoft.com>2015-11-25 11:26:35 +0300
commit32645e3eb9e4d302d91c3592308435486c9d3afc (patch)
treeded9da53fdfc6acd3807c85af4a7ff77b5fbc357 /src/Native/Runtime/threadstore.cpp
parent823d841f640204c40e43c020ff455499eedee7c6 (diff)
Reflected PR feedback
- Put back the RhpBulkWriteBarrier to the Windows asm files, but under ifndef CORERT to keep them in for other projects. - Moved the C++ implementation of the RhpBulkWriteBarrier to a new header file and made it FORCEINLINE. - Added VolatileLoadNoBarrier to to RhpBulkWriteBarrier
Diffstat (limited to 'src/Native/Runtime/threadstore.cpp')
-rw-r--r--src/Native/Runtime/threadstore.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Native/Runtime/threadstore.cpp b/src/Native/Runtime/threadstore.cpp
index 411ec7375..4ecb5ab7c 100644
--- a/src/Native/Runtime/threadstore.cpp
+++ b/src/Native/Runtime/threadstore.cpp
@@ -27,6 +27,8 @@
#include "eetype.h"
#include "slist.inl"
+#include "Volatile.h"
+#include "GCHelpers.h"
EXTERN_C volatile UInt32 RhpTrapThreads = 0;
@@ -460,7 +462,6 @@ PTR_Thread ThreadStore::GetThreadFromTEB(TADDR pTEB)
#endif // DACCESS_COMPILE
#ifndef DACCESS_COMPILE
-EXTERN_C void REDHAWK_CALLCONV RhpBulkWriteBarrier(void* pMemStart, UInt32 cbMemSize);
// internal static extern unsafe bool RhGetExceptionsForCurrentThread(Exception[] outputArray, out int writtenCountOut);
COOP_PINVOKE_HELPER(Boolean, RhGetExceptionsForCurrentThread, (Array* pOutputArray, Int32* pWrittenCountOut))