diff options
Diffstat (limited to 'src/gc/sample')
-rw-r--r-- | src/gc/sample/gcenv.ee.cpp | 5 |
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; |