diff options
author | Jan Vorlicek <janvorli@microsoft.com> | 2016-07-21 18:42:40 +0200 |
---|---|---|
committer | Jan Kotas <jkotas@microsoft.com> | 2016-07-21 09:42:40 -0700 |
commit | 3b5550f9892bce0e17cc50f26e655f2215ce3c9e (patch) | |
tree | a275d330257fd6f705b227ccdf7d64ebdf90e26a /src/gc/sample/gcenv.ee.cpp | |
parent | bfe11c1f9326134daf9dd6f471b1d0b947437cf0 (diff) | |
download | coreclr-3b5550f9892bce0e17cc50f26e655f2215ce3c9e.tar.gz coreclr-3b5550f9892bce0e17cc50f26e655f2215ce3c9e.tar.bz2 coreclr-3b5550f9892bce0e17cc50f26e655f2215ce3c9e.zip |
Refactor GC background thread creation (#6384)
This change modifies the GCToEEInterface::CreateBackgroundThread so that it returns
a fully initialized and running thread.
Diffstat (limited to 'src/gc/sample/gcenv.ee.cpp')
-rw-r--r-- | src/gc/sample/gcenv.ee.cpp | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/gc/sample/gcenv.ee.cpp b/src/gc/sample/gcenv.ee.cpp index cdc0a34972..330564a380 100644 --- a/src/gc/sample/gcenv.ee.cpp +++ b/src/gc/sample/gcenv.ee.cpp @@ -184,11 +184,6 @@ void GCToEEInterface::DisablePreemptiveGC(Thread * pThread) pThread->DisablePreemptiveGC(); } -void GCToEEInterface::SetGCSpecial(Thread * pThread) -{ - pThread->SetGCSpecial(true); -} - alloc_context * GCToEEInterface::GetAllocContext(Thread * pThread) { return pThread->GetAllocContext(); @@ -220,10 +215,10 @@ void GCToEEInterface::SyncBlockCachePromotionsGranted(int /*max_gen*/) { } -bool GCToEEInterface::CreateBackgroundThread(Thread** thread, GCBackgroundThreadFunction threadStart, void* arg) +Thread* GCToEEInterface::CreateBackgroundThread(GCBackgroundThreadFunction threadStart, void* arg) { // TODO: Implement for background GC - return false; + return NULL; } void FinalizerThread::EnableFinalization() |