示例#1
0
 internal static void Deregister(ThreadManage task)
 {
     lock (taskScheduler)
     {
         taskScheduler.Remove(task);
     }
 }
示例#2
0
 internal static void Register(ThreadManage task)
 {
     lock (taskScheduler)
     {
         taskScheduler.Add(task);
     }
 }