Exemplo n.º 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));
 }
Exemplo n.º 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));
 }