Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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
    );
};

Method

Description

ICLRSyncManager::CreateRWLockOwnerIterator Method

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.

ICLRSyncManager::DeleteRWLockOwnerIterator Method

Requests that the CLR destroy an iterator that was created by a call to CreateRWLockOwnerIterator.

ICLRSyncManager::GetMonitorOwner Method

Gets the task that owns the specified monitor.

ICLRSyncManager::GetRWLockOwnerNext Method

Gets the next task that is waiting on the current reader-writer lock.

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

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft