public void Start(bool loop) { if (m_ipcThread != null) { return; } IPC.CommandEvent += IPC_CommandEvent; IPC.Loop = loop; IPC.DebugLog("Start"); m_ipcThread = new Thread(new ThreadStart(IPC.MainLoop)); m_ipcThread.Start(); }