From cb09c6951e2c4405318b422a1f9213af3e4b6b8a Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Fri, 28 Aug 2009 16:51:46 +0200 Subject: pipe deallocation added --- src/command.hpp | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/command.hpp') diff --git a/src/command.hpp b/src/command.hpp index d3bad79..d16d4fa 100644 --- a/src/command.hpp +++ b/src/command.hpp @@ -40,6 +40,8 @@ namespace zmq attach, bind, revive, + pipe_term, + pipe_term_ack, term_req, term, term_ack @@ -78,6 +80,15 @@ namespace zmq struct { } revive; + // Sent by pipe reader to pipe writer to ask it to terminate + // its end of the pipe. + struct { + } pipe_term; + + // Pipe writer acknowledges pipe_term command. + struct { + } pipe_term_ack; + // Sent by I/O object ot the socket to request the shutdown of // the I/O object. struct { -- cgit v1.2.3