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 Kotas <jkotas@microsoft.com>2016-09-09 02:45:11 +0300
committerJan Kotas <jkotas@microsoft.com>2016-09-09 02:45:11 +0300
commit7066ee85c055a55248943d033c46a6c95254efea (patch)
treeb1d2d5a4d2a441ba2266dd02a8ff2939896465f2 /src/Native/Runtime/thread.h
parent2a26179271a1d86450c6069a456e6e7f35a44782 (diff)
Port EnsureSufficientExecutionStack/TryEnsureSufficientExecutionStack
- Port EnsureSufficientExecutionStack to Unix by switching it to the same implementation as what we use for CoreCLR. It is piggy backing on stackbounds that the runtime keeps track of. - Add TryEnsureSufficientExecutionStack since it was added as public method for CoreCLR (see https://github.com/dotnet/coreclr/pull/7077/) [tfs-changeset: 1626388]
Diffstat (limited to 'src/Native/Runtime/thread.h')
-rw-r--r--src/Native/Runtime/thread.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Native/Runtime/thread.h b/src/Native/Runtime/thread.h
index e0da59135..56b22d6f9 100644
--- a/src/Native/Runtime/thread.h
+++ b/src/Native/Runtime/thread.h
@@ -181,6 +181,8 @@ public:
void ClearSuppressGcStress();
bool IsWithinStackBounds(PTR_VOID p);
+ void GetStackBounds(PTR_VOID * ppStackLow, PTR_VOID * ppStackHigh);
+
PTR_UInt8 AllocateThreadLocalStorageForDynamicType(UInt32 uTlsTypeOffset, UInt32 tlsStorageSize, UInt32 numTlsCells);
// mrt100 Debugger (dac) has dependencies on the GetThreadLocalStorageForDynamicType method.
PTR_UInt8 GetThreadLocalStorageForDynamicType(UInt32 uTlsTypeOffset);