More comments about Debugger::SuspendComplete
authorAndrew Au <andrewau@microsoft.com>
Fri, 10 Aug 2018 22:39:51 +0000 (15:39 -0700)
committerAndrew Au <cshung@gmail.com>
Wed, 7 Nov 2018 02:34:47 +0000 (18:34 -0800)
src/debug/ee/debugger.cpp

index cf55db68c9cde31254a599621827f67af233f1cc..b608646ded83e0386a94f7c7d0e41c0da1987110 100644 (file)
@@ -9284,6 +9284,9 @@ void Debugger::DetachThread(Thread *pRuntimeThread)
 //
 // SuspendComplete is called when the last Runtime thread reaches a safe point in response to having its trap flags set.
 // This may be called on either the real helper thread or someone doing helper thread duty.
+// 
+// It could also be called for sending garbage collection events (see DebuggerRCThread::SendIPCEvent for more about the 
+// thread mode associated with the events)
 //
 BOOL Debugger::SuspendComplete(bool isEESuspendedForGC)
 {