IGCThreadControl Interface

Provides methods for participating in the scheduling of threads that would otherwise be blocked for a garbage collection.

Methods

Method

Description

IGCThreadControl::SuspensionEnding Method

Notifies the host that the runtime is resuming threads after a garbage collection or other suspension.

IGCThreadControl::SuspensionStarting Method

Notifies the host that the runtime is beginning a thread suspension for a garbage collection or other suspension.

IGCThreadControl::ThreadIsBlockingForSuspension Method

Notifies the host that the thread making the call is about to block, perhaps for a garbage collection or other suspension.

Requirements

Platforms: See .NET Framework System Requirements.

Header: MSCorEE.h

Library: Included as a resource in MSCorEE.dll

.NET Framework Versions: 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0

See Also

Other Resources

Hosting Interfaces