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:
16d28f2
)
Eliminate the requirement that abort requires no lock held on the current thread...
author
Andrew Au
<cshung@gmail.com>
Fri, 30 Nov 2018 21:40:44 +0000
(13:40 -0800)
committer
GitHub
<noreply@github.com>
Fri, 30 Nov 2018 21:40:44 +0000
(13:40 -0800)
Commit migrated from https://github.com/dotnet/coreclr/commit/
08d9c11bdf09837ee39aad4766091ce44e6ee837
src/coreclr/src/vm/threadsuspend.cpp
patch
|
blob
|
history
diff --git
a/src/coreclr/src/vm/threadsuspend.cpp
b/src/coreclr/src/vm/threadsuspend.cpp
index
67acec2
..
f33d38e
100644
(file)
--- a/
src/coreclr/src/vm/threadsuspend.cpp
+++ b/
src/coreclr/src/vm/threadsuspend.cpp
@@
-1121,12
+1121,6
@@
BOOL Thread::ReadyForAsyncException()
return FALSE;
}
- // If we are doing safe abort, we can not abort a thread if it has locks.
- if (m_AbortType == EEPolicy::TA_Safe && HasLockInCurrentDomain()) {
- STRESS_LOG0(LF_APPDOMAIN, LL_INFO10, "in Thread::ReadyForAbort HasLock\n");
- return FALSE;
- }
-
REGDISPLAY rd;
Frame *pStartFrame = NULL;