示例#1
0
        /// <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);
            }
        }
示例#2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="taskbase"></param>
 static public void AddGlobTimerTask(TimerTaskModel taskbase)
 {
     Init();
     backThreadTools.AddTimerTask(taskbase);
 }