public void Play() { if (running == true) { return; } m_ring.Start(); running = true; m_Oscillo.Start(); m_threadProvider = new Thread(new ThreadStart(Provider)); m_threadProvider.Name = "Provider"; m_threadProvider.Start(); m_threadConsumer = new Thread(new ThreadStart(Consumer)); m_threadConsumer.Name = "Consumer"; m_threadConsumer.Start(); }