public static AddThread ( |
||
p_ttdThread | 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); }