Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Defines a transport buffer for runtime thread store information.
Note
This API was originally designed for internal use in the runtime. Although it is now supported for 3rd party use, we recommend working with ICorDebug and ICorProfiler APIs when possible.
Syntax
struct DacpThreadStoreData : ZeroInit<DacpThreadStoreData>
{
LONG threadCount;
LONG unstartedThreadCount;
LONG backgroundThreadCount;
LONG pendingThreadCount;
LONG deadThreadCount;
CLRDATA_ADDRESS firstThread;
CLRDATA_ADDRESS finalizerThread;
CLRDATA_ADDRESS gcThread;
DWORD fHostConfig; // Uses hosting flags defined above
HRESULT Request(ISOSDacInterface *sos)
{
return sos->GetThreadStoreData(this);
}
};
Members
| Member | Description |
|---|---|
threadCount |
The total number of runtime threads. |
unstartedThreadCount |
The number of threads that have not started. |
backgroundThreadCount |
The number of background threads. |
pendingThreadCount |
The number of pending threads. |
deadThreadCount |
The number of dead threads. |
firstThread |
The address of the first thread in the runtime thread list. |
finalizerThread |
The address of the finalizer thread. |
gcThread |
The address of the garbage collection thread. |
fHostConfig |
A bitmask of runtime hosting flags such as CLRMEMORYHOSTED, CLRTASKHOSTED, and CLRHOSTED. |
Request |
Populates the structure by calling ISOSDacInterface::GetThreadStoreData. |
Remarks
This structure lives inside the runtime and is not exposed through any headers or library files. To use it, define the structure as specified above.
Requirements
Platforms: See System Requirements.
Header: None
Library: None
.NET Framework Versions: Available since 4.7