Редагувати

Поділитися через


CorDebugBlockingObject Structure

Defines an object that is blocking a thread and the specific reason that the thread is blocked.

Syntax

Typedef struct CorDebugBlockingObject
{
ICorDebugValue pBlockingObject;
DWORD dwTimeout;
CorDebugBlockingReason blockingReason;
}  CorDebugBlockingObject;

Members

Member Description
pBlockingObject The object on which the thread is blocking. This object is valid only for the duration of the current synchronized state. If two threads are blocking on the same object within the same synchronized state, you may expect the ICorDebugValue::GetAddress method to return the same value. However, the interfaces may or may not be pointer equivalent.
dwTimeout The number of milliseconds before the blocking operation will time out, or the value INFINITE, which indicates that it will not time out. The time-out value specifies the total length of time for the blocking operation, not the time that is still remaining.
blockingReason The reason that the thread is blocked on this object.

Remarks

Requirements

Platforms: See System Requirements.

Header: CorDebug.idl

Library: CorGuids.lib

.NET Framework Versions: Available since 4

See also