Export (0) Print
Expand All
Expand Minimize

ICorProfilerCallback::ThreadAssignedToOSThread Method

Notifies the profiler that a managed thread is being implemented using a particular operating system (OS) thread.


HRESULT ThreadAssignedToOSThread(
    [in] ThreadID managedThreadId,
    [in] DWORD    osThreadId);

Parameters

Parameter Description

managedThreadId

[in] The identifier of the managed thread.

osThreadId

[in] The identifier of the OS thread.

The ThreadAssignedToOSThread callback exists so that the profiler can maintain an accurate mapping across fibers of operating-system threads to managed threads.

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

Header: CorProf.idl

Library: CorGuids.lib

.NET Framework Version: 2.0

Community Additions

ADD
Show:
© 2014 Microsoft