summaryrefslogtreecommitdiff
path: root/src/pipe.hpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2011-05-31 14:36:51 +0200
committerMartin Sustrik <sustrik@250bpm.com>2011-05-31 14:36:51 +0200
commita24a7c15a824bb48da38809bff9416673dc5a176 (patch)
treef952e4d06004f2ec0683fa47b5418b8b805ea799 /src/pipe.hpp
parent0b59866a84f733e5a53b0d2f32570581691747ef (diff)
Session termination induced by socket fixed
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'src/pipe.hpp')
-rw-r--r--src/pipe.hpp5
1 files changed, 3 insertions, 2 deletions
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: