Partager via


ICorRuntimeHost::LocksHeldByLogicalThread Method

Retrieves the number of locks that current thread holds.

Note

Do not use this method. It may lead to process instability.

HRESULT LocksHeldByLogicalThread(
    [out] DWORD *pCount
);

Parameters

  • pCount
    [out] A pointer to the number of locks that the current thread holds.

Requirements

Platforms: Windows 2000, Windows XP, Windows Server 2003 family

Header: MSCorEE.idl

Library: Included as a resource in MSCorEE.dll

.NET Framework Version: 1.0, 1.1

See Also

Reference

ICorRuntimeHost Interface