예제 #1
0
파일: Acquirer.cs 프로젝트: zoomx/xoscillo
        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();
        }