IHostSyncManager Interface
Provides methods that allow the common language runtime (CLR) to create synchronization primitives by calling the host instead of using the Win32 synchronization functions.
Methods
Method | Description |
---|---|
CreateAutoEvent Method | Creates an auto-reset event object. |
CreateCrst Method | Creates a critical section object for synchronization. |
CreateCrstWithSpinCount Method | Creates a critical section object with spin count for synchronization. |
CreateManualEvent Method | Creates a manual-reset event object. |
CreateMonitorEvent Method | Creates a monitored auto-reset event object. |
CreateRWLockReaderEvent Method | Creates a manual-reset event object for the implementation of a reader lock. |
CreateRWLockWriterEvent Method | Creates an auto-reset event object for the implementation of a writer lock. |
CreateSemaphore Method | Creates an IHostSemaphore object for the CLR to use as a semaphore for wait events. |
SetCLRSyncManager Method | Sets the ICLRSyncManager instance to associate with the current IHostSyncManager instance. |
Remarks
The CLR discovers the host's implementation of IHostSyncManager
by calling the IHostControl::GetHostManager method with an IID
of IID_IHostSyncManager.
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
Spolupráca s nami v službe GitHub
Zdroj tohto obsahu nájdete v službe GitHub, kde môžete vytvárať a skúmať problémy a žiadosti o prijatie zmien. Ďalšie informácie nájdete v našom sprievodcovi prispievateľom.
Pripomienky
https://aka.ms/ContentUserFeedback.
Pripravujeme: V priebehu roka 2024 postupne zrušíme službu Problémy v službe GitHub ako mechanizmus pripomienok týkajúcich sa obsahu a nahradíme ju novým systémom pripomienok. Ďalšie informácie nájdete na stránke:Odoslať a zobraziť pripomienky pre