From 45f83d78a56f4b3a812c87fec03a75558445b2ab Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Thu, 12 Aug 2010 15:03:51 +0200 Subject: one more dezombification bug fixed --- src/ctx.hpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/ctx.hpp') diff --git a/src/ctx.hpp b/src/ctx.hpp index 1b51151..2394c70 100644 --- a/src/ctx.hpp +++ b/src/ctx.hpp @@ -20,9 +20,7 @@ #ifndef __ZMQ_CTX_HPP_INCLUDED__ #define __ZMQ_CTX_HPP_INCLUDED__ -#include #include -#include #include #include @@ -61,9 +59,6 @@ namespace zmq // Make socket a zombie. void zombify_socket (socket_base_t *socket_); - // Kill the zombie socket. - void dezombify_socket (socket_base_t *socket_); - // Send command to the destination slot. void send_command (uint32_t slot_, const command_t &command_); @@ -89,7 +84,7 @@ namespace zmq // List of sockets that were already closed but not yet deallocated. // These sockets still have some pipes and I/O objects attached. - typedef std::list zombies_t; + typedef std::vector zombies_t; zombies_t zombies; // List of unused slots. -- cgit v1.2.3