Example #1
0
 public CSubThread(int id)
 {
     m_Id         = id;
     m_MyH        = new MyHandler();
     m_MyListener = new MyListener(id);
     m_Topic      = Prefix + "/" + id.ToString();
     m_T          = new Thread(new ThreadStart(ThreadProc));
 }
Example #2
0
 public CSubThread(int id)
 {
     m_Id = id;
     m_MyH = new MyHandler();
     m_MyListener = new MyListener(id);
     m_Topic = Prefix + "/" + id.ToString();
     m_T = new Thread(new ThreadStart(ThreadProc));
 }