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/unix | |
parent | b5be0e6aac9002f171012ee6c48488d7d43448d9 (diff) |
(On behalf of Jan Vorlicek) Thread abort stage 1
[tfs-changeset: 1664997]
Diffstat (limited to 'src/Native/Runtime/unix')
-rw-r--r-- | src/Native/Runtime/unix/unixasmmacrosamd64.inc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Native/Runtime/unix/unixasmmacrosamd64.inc b/src/Native/Runtime/unix/unixasmmacrosamd64.inc index 1b79e44fc..d911960b5 100644 --- a/src/Native/Runtime/unix/unixasmmacrosamd64.inc +++ b/src/Native/Runtime/unix/unixasmmacrosamd64.inc @@ -263,6 +263,12 @@ C_FUNC(\Name): #define PTFF_SAVE_ALL_SCRATCH 00007F00h #define PTFF_RAX_IS_GCREF 00010000h // iff PTFF_SAVE_RAX: set -> eax is Object, clear -> eax is scalar #define PTFF_RAX_IS_BYREF 00020000h // iff PTFF_SAVE_RAX: set -> eax is ByRef, clear -> eax is Object or scalar +#define PTFF_THREAD_ABORT 00040000h // indicates that ThreadAbortException should be thrown when returning from the transition + +// These must match the TrapThreadsFlags enum +#define TrapThreadsFlags_None 0 +#define TrapThreadsFlags_AbortInProgress 1 +#define TrapThreadsFlags_TrapThreads 2 .macro INLINE_GET_TLS_VAR Var .att_syntax |