Ejemplo n.º 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;
        }
Ejemplo n.º 2
0
Archivo: Ctx.cs Proyecto: 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;
        }
Ejemplo n.º 3
0
 public void Destroy()
 {
     m_poller.Destroy();
     mailbox.Close();
 }