Condividi tramite


Metodo ICorProfilerCallback::ThreadAssignedToOSThread

Notifica al profiler che un thread gestito viene implementato utilizzando un determinato thread del sistema operativo (OS).

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

Parametri

  • managedThreadId
    [in] Identificatore del thread gestito.

  • osThreadId
    [in] Identificatore del thread del sistema operativo.

Note

Il callback di ThreadAssignedToOSThread è presente in modo che il profiler possa mantenere un mapping accurato tra i fiber dei thread del sistema operativo e i thread gestiti.

Requisiti

Piattaforme: vedere Requisiti di sistema di .NET Framework.

Intestazione: CorProf.idl, CorProf.h

Libreria: CorGuids.lib

Versioni di .NET Framework: 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0

Vedere anche

Riferimenti

Interfaccia ICorProfilerCallback