diff options
Diffstat (limited to 'src/gc/gcee.cpp')
-rw-r--r-- | src/gc/gcee.cpp | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/gc/gcee.cpp b/src/gc/gcee.cpp index 889f940973..0404058cde 100644 --- a/src/gc/gcee.cpp +++ b/src/gc/gcee.cpp @@ -428,9 +428,14 @@ void GCHeap::SetGCInProgress(bool fInProgress) GcInProgress = fInProgress; } -CLREvent * GCHeap::GetWaitForGCEvent() +void GCHeap::SetWaitForGCEvent() { - return WaitForGCEvent; + WaitForGCEvent->Set(); +} + +void GCHeap::ResetWaitForGCEvent() +{ + WaitForGCEvent->Reset(); } void GCHeap::WaitUntilConcurrentGCComplete() @@ -520,7 +525,7 @@ void gc_heap::fire_etw_pin_object_event (uint8_t* object, uint8_t** ppObject) } #endif // FEATURE_EVENT_TRACE -uint32_t gc_heap::user_thread_wait (CLREvent *event, BOOL no_mode_change, int time_out_ms) +uint32_t gc_heap::user_thread_wait (GCEvent *event, BOOL no_mode_change, int time_out_ms) { Thread* pCurThread = NULL; bool mode = false; |