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:
ee41716
)
removed duplicate conditional compilation (#77428)
author
JongHeonChoi
<j-h.choi@samsung.com>
Tue, 25 Oct 2022 12:27:43 +0000
(21:27 +0900)
committer
GitHub
<noreply@github.com>
Tue, 25 Oct 2022 12:27:43 +0000
(
05:27
-0700)
src/coreclr/nativeaot/Runtime/threadstore.cpp
patch
|
blob
|
history
diff --git
a/src/coreclr/nativeaot/Runtime/threadstore.cpp
b/src/coreclr/nativeaot/Runtime/threadstore.cpp
index
f899301
..
5b3aaf9
100644
(file)
--- a/
src/coreclr/nativeaot/Runtime/threadstore.cpp
+++ b/
src/coreclr/nativeaot/Runtime/threadstore.cpp
@@
-341,8
+341,6
@@
void ThreadStore::ResumeAllThreads(bool waitForGCEvent)
UnlockThreadStore();
} // ResumeAllThreads
-#ifndef DACCESS_COMPILE
-
void ThreadStore::InitiateThreadAbort(Thread* targetThread, Object * threadAbortException, bool doRudeAbort)
{
SuspendAllThreads(/* waitForGCEvent = */ false);
@@
-415,8
+413,6
@@
COOP_PINVOKE_HELPER(void, RhpCancelThreadAbort, (void* thread))
GetThreadStore()->CancelThreadAbort((Thread*)thread);
}
-#endif // DACCESS_COMPILE
-
C_ASSERT(sizeof(Thread) == sizeof(ThreadBuffer));
EXTERN_C DECLSPEC_THREAD ThreadBuffer tls_CurrentThread;