/// <summary> /// 超时切换任务线程 /// </summary> /// <param name="threadArray">超时切换任务线程集合</param> protected TaskSwitchThreadBase(TaskSwitchThreadArrayBase threadArray) { this.threadArray = threadArray; CurrentTaskTimestamp = threadArray.NoSwitchTimestamp; WaitHandle.Set(0); ThreadPool.TinyBackground.FastStart(this, AutoCSer.Threading.ThreadTaskType.TaskSwitchThreadRun); }
/// <summary> /// 超时切换任务线程 /// </summary> /// <param name="threadArray">超时切换任务线程集合</param> protected TaskSwitchThread(TaskSwitchThreadArrayBase threadArray) : base(threadArray) { }