IGCThreadControl Interface
Provides methods for participating in the scheduling of threads that would otherwise be blocked for a garbage collection.
interface IGCThreadControl : IUnknown {
HRESULT ThreadIsBlockingForSuspension();
HRESULT SuspensionStarting();
HRESULT SuspensionEnding(
[in] DWORD Generation
);
}
Methods
Method |
Description |
---|---|
Notifies the host that the runtime is resuming threads after a garbage collection or other suspension. |
|
Notifies the host that the runtime is beginning a thread suspension for a garbage collection or other suspension. |
|
Notifies the host that the thread making the call is about to block, perhaps for a garbage collection or other suspension. |
Requirements
Platforms: Windows 2000, Windows XP, Windows Server 2003 family
Header: MSCorEE.idl
Library: Included as a resource in MSCorEE.dll
.NET Framework Version: 2.0