/// <summary> /// 构造方法 /// </summary> /// <param name="Works"></param> /// <param name="ThreadSum"></param> public DME_MutiThread(DME_WorkThread Works, int ThreadSum) { this.threadState = false; this.works = Works; this.threadSum = ThreadSum > 0 ? ThreadSum : 1; this.workThreads = new Thread[this.threadSum]; }
public DME_MutiThread() { this.threadState = false; this.works = null; this.threadSum = 0; }