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:
6747320
)
Return the result of PAL_InjectActivation in Thread::InjectGcSuspension (#44731)
author
Ilia
<ki.stfu@gmail.com>
Fri, 4 Dec 2020 04:50:12 +0000
(07:50 +0300)
committer
GitHub
<noreply@github.com>
Fri, 4 Dec 2020 04:50:12 +0000
(20:50 -0800)
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
89824f3
..
087fac8
100644
(file)
--- a/
src/coreclr/src/vm/threadsuspend.cpp
+++ b/
src/coreclr/src/vm/threadsuspend.cpp
@@
-6185,10
+6185,7
@@
bool Thread::InjectGcSuspension()
HANDLE hThread = GetThreadHandle();
if (hThread != INVALID_HANDLE_VALUE)
- {
- ::PAL_InjectActivation(hThread);
- return true;
- }
+ return ::PAL_InjectActivation(hThread);
return false;
}