/// <summary> /// /// </summary> /// <param name="tid"></param> /// <param name="taskbase"></param> static public void AddTimerTask(long tid, TimerTaskModel taskbase) { SzThread tm = GetThreadModel(tid); if (tm != null) { tm.AddTimerTask(taskbase); } }
/// <summary> /// /// </summary> /// <param name="taskbase"></param> static public void AddGlobTimerTask(TimerTaskModel taskbase) { Init(); backThreadTools.AddTimerTask(taskbase); }