diff options
author | Andrew Au <andrewau@microsoft.com> | 2017-07-07 18:59:18 +0300 |
---|---|---|
committer | Andrew Au <andrewau@microsoft.com> | 2017-07-07 18:59:18 +0300 |
commit | a61fac9dce2b1873a61cbe70489d8c0ecdad3ad4 (patch) | |
tree | 9dc81f67e77366aa2c4af1a74cf668b9bb69a518 /src/Native/Runtime/thread.h | |
parent | b5be0e6aac9002f171012ee6c48488d7d43448d9 (diff) |
(On behalf of Jan Vorlicek) Thread abort stage 1
[tfs-changeset: 1664997]
Diffstat (limited to 'src/Native/Runtime/thread.h')
-rw-r--r-- | src/Native/Runtime/thread.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Native/Runtime/thread.h b/src/Native/Runtime/thread.h index 5eada8318..e88881ff4 100644 --- a/src/Native/Runtime/thread.h +++ b/src/Native/Runtime/thread.h @@ -78,6 +78,7 @@ struct ThreadBuffer void ** m_ppvHijackedReturnAddressLocation; void * m_pvHijackedReturnAddress; PTR_ExInfo m_pExInfoStackHead; + Object* m_threadAbortException; // ThreadAbortException instance -set only during thread abort PTR_VOID m_pStackLow; PTR_VOID m_pStackHigh; PTR_UInt8 m_pTEB; // Pointer to OS TEB structure for this thread @@ -254,6 +255,9 @@ public: bool InlineTryFastReversePInvoke(ReversePInvokeFrame * pFrame); void InlineReversePInvokeReturn(ReversePInvokeFrame * pFrame); + Object * GetThreadAbortException(); + void SetThreadAbortException(Object *exception); + #if CORERT Object* GetThreadStaticStorageForModule(UInt32 moduleIndex); Boolean SetThreadStaticStorageForModule(Object * pStorage, UInt32 moduleIndex); |