summaryrefslogtreecommitdiff
path: root/src/gc/gcpriv.h
diff options
context:
space:
mode:
authorSean Gillespie <segilles@microsoft.com>2017-11-09 09:58:47 -0800
committerGitHub <noreply@github.com>2017-11-09 09:58:47 -0800
commite64cbb5c722ab9b7d93ca32445e17df1115be70c (patch)
tree493ffcbff24c7d14c950187606a3635e51c05bec /src/gc/gcpriv.h
parentb45e91e74ff4d721e3b44e260e673ef024ddb774 (diff)
downloadcoreclr-e64cbb5c722ab9b7d93ca32445e17df1115be70c.tar.gz
coreclr-e64cbb5c722ab9b7d93ca32445e17df1115be70c.tar.bz2
coreclr-e64cbb5c722ab9b7d93ca32445e17df1115be70c.zip
[Local GC] Unify background GC thread and server GC thread creation (#14821)
* Initial cut, ignoring thread affinity * Integrate thread affinity * Affinity for standalone Windows * Add 'specialness' and the thread name as arguments to CreateThread * First crack at unified implementation * Set priority for server GC threads * Remove unused parameter * Address code review feedback and remove some dead code that broke the clang build * Use char* on the interface instead of wchar_t (doesn't play well cross-platform) * Rename IsGCSpecialThread -> CurrentThreadWasCreatedByGC * Code review feedback and fix up the build * rename CurrentThreadWasCreatedByGC -> WasCurrentThreadCreatedByGC * Fix a contract violation when converting string encodings * Thread::CreateUtilityThread returns a thread that is not suspended - restarting a non-suspended thread is incorrect * CreateUnsuspendableThread -> CreateNonSuspendableThread
Diffstat (limited to 'src/gc/gcpriv.h')
-rw-r--r--src/gc/gcpriv.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gc/gcpriv.h b/src/gc/gcpriv.h
index c9c6fa32f9..470b82f2ef 100644
--- a/src/gc/gcpriv.h
+++ b/src/gc/gcpriv.h
@@ -2671,11 +2671,11 @@ protected:
PER_HEAP
void kill_gc_thread();
PER_HEAP
- uint32_t bgc_thread_function();
+ void bgc_thread_function();
PER_HEAP_ISOLATED
void do_background_gc();
static
- uint32_t __stdcall bgc_thread_stub (void* arg);
+ void bgc_thread_stub (void* arg);
#endif //BACKGROUND_GC