ICLRSyncManager Interface
Defines methods that allow the host to get information about requested tasks and to detect deadlocks in its synchronization implementation.
interface ICLRSyncManager : IUnknown {
HRESULT CreateRWLockOwnerIterator (
[in] SIZE_T cookie,
[out] SIZE_T *pIterator
);
HRESULT DeleteRWLockOwnerIterator (
[in] SIZE_T Iterator
);
HRESULT GetMonitorOwner (
[in] SIZE_T cookie,
[out] IHostTask **ppOwnerHostTask
);
HRESULT GetRWLockOwnerNext (
[in] SIZE_T Iterator,
[out] IHostTask **ppOwnerHostTask
);
};
Methods
Method |
Description |
---|---|
Requests that the common language runtime (CLR) create an iterator for the host to use to determine the set of tasks waiting on a reader-writer lock. |
|
Requests that the CLR destroy an iterator that was created by a call to CreateRWLockOwnerIterator. |
|
Gets the task that owns the specified monitor. |
|
Gets the next task that is waiting on the current reader-writer lock. |
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
See Also
Concepts
Managed and Unmanaged Threading