diff options
author | Martin Sustrik <sustrik@250bpm.com> | 2010-08-12 15:03:51 +0200 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2010-08-25 15:39:20 +0200 |
commit | 45f83d78a56f4b3a812c87fec03a75558445b2ab (patch) | |
tree | 1adba1798c914baf65929d89ed9725dd68672bd6 /src/ctx.hpp | |
parent | 936dbf956b0f1471a96fc06bcba67765257dbc4a (diff) |
one more dezombification bug fixed
Diffstat (limited to 'src/ctx.hpp')
-rw-r--r-- | src/ctx.hpp | 7 |
1 files changed, 1 insertions, 6 deletions
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 <set> #include <map> -#include <list> #include <vector> #include <string> @@ -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 <socket_base_t*> zombies_t; + typedef std::vector <socket_base_t*> zombies_t; zombies_t zombies; // List of unused slots. |