コード例 #1
0
        protected void Destroy()
        {
            foreach (IOThread it in m_ioThreads)
            {
                it.Stop();
            }

            foreach (IOThread it in m_ioThreads)
            {
                it.Destroy();
            }

            if (m_reaper != null)
            {
                m_reaper.Destroy();
            }
            m_termMailbox.Close();

            m_tag = 0xdeadbeef;
        }
コード例 #2
0
ファイル: Ctx.cs プロジェクト: xuzhe35/netmq
        protected void Destroy()
        {
            foreach (IOThread it in m_ioThreads)
            {
                it.Stop();
            }

            foreach (IOThread it in m_ioThreads)
            {
                it.Destroy();
            }

            if (m_reaper != null)
            {
                m_reaper.Destroy();
            }
            m_termMailbox.Close();

            m_disposed = true;
        }
コード例 #3
0
ファイル: Reaper.cs プロジェクト: xuzhe35/netmq
 public void Destroy()
 {
     m_poller.Destroy();
     mailbox.Close();
 }