Expand Minimize
This topic has not yet been rated - Rate this topic

ICorProfilerCallback::ThreadAssignedToOSThread Method

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

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

[in] The identifier of the managed thread.

osThreadId

[in] The identifier of the operating system thread.

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

Platforms: See .NET Framework System Requirements.

Header: CorProf.idl, CorProf.h

Library: CorGuids.lib

.NET Framework Versions: 4.5, 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.