From a24a7c15a824bb48da38809bff9416673dc5a176 Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Tue, 31 May 2011 14:36:51 +0200 Subject: Session termination induced by socket fixed Signed-off-by: Martin Sustrik --- src/pipe.hpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/pipe.hpp') diff --git a/src/pipe.hpp b/src/pipe.hpp index bf34a83..d3bf866 100644 --- a/src/pipe.hpp +++ b/src/pipe.hpp @@ -94,8 +94,9 @@ namespace zmq // Ask pipe to terminate. The termination will happen asynchronously // and user will be notified about actual deallocation by 'terminated' - // event. - void terminate (); + // event. If delay is true, the pending messages will be processed + // before actual shutdown. + void terminate (bool delay_); private: -- cgit v1.2.3