diff options
Diffstat (limited to 'src/pipe.hpp')
-rw-r--r-- | src/pipe.hpp | 5 |
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: |