Exemplo n.º 1
0
 public UnifiedThread(ClrThread thread, IEnumerable <UnifiedBlockingObject> blockingObjects)
 {
     IsManagedThread = true;
     ManagedThreadId = thread.ManagedThreadId;
     OSThreadId      = thread.OSThreadId;
     BlockingObjects.AddRange(blockingObjects);
 }
Exemplo n.º 2
0
 public UnifiedThread(ThreadInformation info, IEnumerable <UnifiedBlockingObject> blockingObjects)
 {
     IsManagedThread = info.IsManagedThread;
     if (info.IsManagedThread)
     {
         ManagedThreadId = info.ManagedThread.ManagedThreadId;
     }
     Index          = info.Index;
     EngineThreadId = info.EngineThreadId;
     OSThreadId     = info.OSThreadId;
     Detail         = info.Detail;
     BlockingObjects.AddRange(blockingObjects);
 }