Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Kotas <jkotas@microsoft.com>2017-01-24 09:24:04 +0300
committerGitHub <noreply@github.com>2017-01-24 09:24:04 +0300
commit3e9ccf58f5beaa050910a71290a843b154626c4e (patch)
tree23cedc698179b621c17445dd20f43b2e21ee919c /src/Native/Runtime/GCHelpers.cpp
parente7d315ee6f71cb0a3f1158018e56bae50bf591ce (diff)
Port GC updates from CoreCLR (#2567)
- https://github.com/dotnet/coreclr/pull/9029 - https://github.com/dotnet/coreclr/pull/8976 - Matching runtime changes
Diffstat (limited to 'src/Native/Runtime/GCHelpers.cpp')
-rw-r--r--src/Native/Runtime/GCHelpers.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/Native/Runtime/GCHelpers.cpp b/src/Native/Runtime/GCHelpers.cpp
index 68b12c3a3..56884aef9 100644
--- a/src/Native/Runtime/GCHelpers.cpp
+++ b/src/Native/Runtime/GCHelpers.cpp
@@ -25,15 +25,6 @@
#include "threadstore.inl"
#include "thread.inl"
-EXTERN_C REDHAWK_API void __cdecl RhWaitForPendingFinalizers(UInt32_BOOL allowReentrantWait)
-{
- // This must be called via p/invoke rather than RuntimeImport since it blocks and could starve the GC if
- // called in cooperative mode.
- ASSERT(!GetThread()->IsCurrentThreadInCooperativeMode());
-
- FinalizerThread::Wait(INFINITE, allowReentrantWait);
-}
-
EXTERN_C REDHAWK_API void __cdecl RhpCollect(UInt32 uGeneration, UInt32 uMode)
{
// This must be called via p/invoke rather than RuntimeImport to make the stack crawlable.