示例#1
0
        public WorkerThread(String name, String description = "")
        {
            State        = WorkState.NotStarted;
            mThread      = new Thread(ThreadHull);
            mThread.Name = name;

            m_JobInformation = WorkerThreadInfo.Create(this, name, description);
        }
 public WorkerThread(String name, String description = "")
 {
     State            = WorkState.NotStarted;
     mThread          = new Thread(ThreadHull);
     mThread.Name     = name;
     WakeupEvent      = new AutoResetEvent(false);
     m_JobInformation = WorkerThreadInfo.Create(this, name, description);
 }