public void Start(WorkTaskScheduler scheduler, AsyncCallback callback = null)
 {
     if (this.Status == TaskStatus.Created || !this.IsAlive)
     {
         m_Callback  = callback;
         this.Status = TaskStatus.WaitingForActivation;
         scheduler.QueueTask(this);
         this.TaskScheduler = scheduler;
     }
 }
 public WorkThread(WorkTaskScheduler taskScheduler)
 {
     this.TaskScheduler = taskScheduler;
 }