ICorProfilerCallback::ThreadAssignedToOSThread Method
Notifies the profiler that a managed thread is being implemented using a particular operating system thread.
Syntax
HRESULT ThreadAssignedToOSThread(
[in] ThreadID managedThreadId,
[in] DWORD osThreadId);
Parameters
managedThreadId
[in] The identifier of the managed thread.
osThreadId
[in] The identifier of the operating system thread.
Remarks
The ThreadAssignedToOSThread
callback exists so that the profiler can maintain an accurate mapping across fibers of operating system threads to managed threads.
Requirements
Platforms: See System Requirements.
Header: CorProf.idl, CorProf.h
Library: CorGuids.lib
.NET Framework Versions: Available since 2.0
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.