summaryrefslogtreecommitdiff
path: root/src/gc/env/gcenv.ee.h
diff options
context:
space:
mode:
authorJan Vorlicek <janvorli@microsoft.com>2016-07-21 18:42:40 +0200
committerJan Kotas <jkotas@microsoft.com>2016-07-21 09:42:40 -0700
commit3b5550f9892bce0e17cc50f26e655f2215ce3c9e (patch)
treea275d330257fd6f705b227ccdf7d64ebdf90e26a /src/gc/env/gcenv.ee.h
parentbfe11c1f9326134daf9dd6f471b1d0b947437cf0 (diff)
downloadcoreclr-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/env/gcenv.ee.h')
-rw-r--r--src/gc/env/gcenv.ee.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gc/env/gcenv.ee.h b/src/gc/env/gcenv.ee.h
index 42f47c4b18..0c1fd4988a 100644
--- a/src/gc/env/gcenv.ee.h
+++ b/src/gc/env/gcenv.ee.h
@@ -74,13 +74,12 @@ public:
static void EnablePreemptiveGC(Thread * pThread);
static void DisablePreemptiveGC(Thread * pThread);
- static void SetGCSpecial(Thread * pThread);
static alloc_context * GetAllocContext(Thread * pThread);
static bool CatchAtSafePoint(Thread * pThread);
static void GcEnumAllocContexts(enum_alloc_context_func* fn, void* param);
- static bool CreateBackgroundThread(Thread** thread, GCBackgroundThreadFunction threadStart, void* arg);
+ static Thread* CreateBackgroundThread(GCBackgroundThreadFunction threadStart, void* arg);
};
#endif // __GCENV_EE_H__