AddThread() 공개 정적인 메소드

Adds a thread to the tracker.
public static AddThread ( TrackedThread p_ttdThread ) : void
p_ttdThread TrackedThread The thread to be tracked.
리턴 void
 /// <summary>
 /// Initializes the object with the given values.
 /// </summary>
 /// <param name="p_tdsThreadMethod">The method to call when the thread starts.</param>
 public TrackedThread(ThreadStart p_tdsThreadMethod)
 {
     m_tdsThreadMethod = p_tdsThreadMethod;
     m_thdThread       = new Thread(RunThread);
     TrackedThreadManager.AddThread(this);
 }
 /// <summary>
 /// Initializes the object with the given values.
 /// </summary>
 /// <param name="p_ptsThreadMethod">The method to call when the thread starts.</param>
 public TrackedThread(ParameterizedThreadStart p_ptsThreadMethod)
 {
     m_ptsThreadMethod = p_ptsThreadMethod;
     m_thdThread       = new Thread(RunParameterizedThread);
     TrackedThreadManager.AddThread(this);
 }