ICorConfiguration::SetGCThreadControl Method
Sets the callback interface for scheduling threads for non-runtime tasks that would otherwise be blocked for a garbage collection.
Syntax
HRESULT SetGCThreadControl (
[in] IGCThreadControl* pGCThreadControl
);
Parameters
pGCThreadControl
[in] A pointer to an IGCThreadControl object that notifies the host about the suspension of threads for non-runtime tasks.
Remarks
The host may choose within the IGCThreadControl::ThreadIsBlockingForSuspension callback whether to reschedule a thread.
Requirements
Platforms: See System Requirements.
Header: MSCorEE.h
Library: Included as a resource in MSCorEE.dll
.NET Framework Versions: Available since 2.0
See also
Tehke meiega GitHubis koostööd
Selle sisu allika leiate GitHubist, kus saate ka probleeme luua ja läbi vaadata ning päringuid teha. Lisateavet leiate meie kaasautorite juhendist.
Tagasiside
https://aka.ms/ContentUserFeedback.
Varsti tulekul: 2024. aasta jooksul tühistame GitHubi probleemide funktsiooni sisutagasiside mehhanismina ja asendame selle uue tagasisidesüsteemiga. Lisateabe saamiseks vtEsita ja vaata tagasisidet