summaryrefslogtreecommitdiff
path: root/src/gc/sample
diff options
context:
space:
mode:
authorSean Gillespie <segilles@microsoft.com>2017-06-08 11:07:12 -0700
committerGitHub <noreply@github.com>2017-06-08 11:07:12 -0700
commitf1d81d24932391c0f087364cd91a66ac2c758e35 (patch)
tree1d7e78525d41caa6068d9e2604b350112124099d /src/gc/sample
parent0d7c2d19a1b2e8c03ed609cccc6a01b3c5f7325b (diff)
downloadcoreclr-f1d81d24932391c0f087364cd91a66ac2c758e35.tar.gz
coreclr-f1d81d24932391c0f087364cd91a66ac2c758e35.tar.bz2
coreclr-f1d81d24932391c0f087364cd91a66ac2c758e35.zip
[Local GC] Add GetThread to the GC/EE interface (#12036)
Diffstat (limited to 'src/gc/sample')
-rw-r--r--src/gc/sample/gcenv.ee.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gc/sample/gcenv.ee.cpp b/src/gc/sample/gcenv.ee.cpp
index 1867f1c7f8..c0265d5fcf 100644
--- a/src/gc/sample/gcenv.ee.cpp
+++ b/src/gc/sample/gcenv.ee.cpp
@@ -190,6 +190,11 @@ void GCToEEInterface::DisablePreemptiveGC(Thread * pThread)
pThread->DisablePreemptiveGC();
}
+Thread* GCToEEInterface::GetThread()
+{
+ return ::GetThread();
+}
+
bool GCToEEInterface::TrapReturningThreads()
{
return !!g_TrapReturningThreads;