diff options
author | Jiyoung Yun <jy910.yun@samsung.com> | 2017-04-27 16:54:50 +0900 |
---|---|---|
committer | Jiyoung Yun <jy910.yun@samsung.com> | 2017-04-27 16:54:50 +0900 |
commit | 5b975f8233e8c8d17b215372f89ca713b45d6a0b (patch) | |
tree | 0267bcc331458a01f4c26fafd28110a72273beb3 /src/gc/gcee.cpp | |
parent | a56e30c8d33048216567753d9d3fefc2152af8ac (diff) | |
download | coreclr-5b975f8233e8c8d17b215372f89ca713b45d6a0b.tar.gz coreclr-5b975f8233e8c8d17b215372f89ca713b45d6a0b.tar.bz2 coreclr-5b975f8233e8c8d17b215372f89ca713b45d6a0b.zip |
Imported Upstream version 2.0.0.11599upstream/2.0.0.11599
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; |