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
Cộng tác với chúng tôi trên GitHub
Bạn có thể tìm thấy nguồn cho nội dung này trên GitHub, nơi bạn cũng có thể tạo và xem lại các vấn đề và yêu cầu kéo. Để biết thêm thông tin, hãy xem hướng dẫn dành cho người đóng góp của chúng tôi.