diff options
Diffstat (limited to 'src/vm/gcenv.ee.cpp')
-rw-r--r-- | src/vm/gcenv.ee.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/vm/gcenv.ee.cpp b/src/vm/gcenv.ee.cpp index 38c8ef0340..f520c1a2bb 100644 --- a/src/vm/gcenv.ee.cpp +++ b/src/vm/gcenv.ee.cpp @@ -356,6 +356,12 @@ void GCToEEInterface::DisablePreemptiveGC(Thread * pThread) pThread->DisablePreemptiveGC(); } +bool GCToEEInterface::TrapReturningThreads() +{ + WRAPPER_NO_CONTRACT; + return !!g_TrapReturningThreads; +} + struct BackgroundThreadStubArgs { Thread* thread; |