summaryrefslogtreecommitdiff
path: root/src/own.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/own.hpp')
-rw-r--r--src/own.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/own.hpp b/src/own.hpp
index 5023a30..0902f73 100644
--- a/src/own.hpp
+++ b/src/own.hpp
@@ -76,6 +76,9 @@ namespace zmq
// called more than once.
void terminate ();
+ // Returns true if the object is in process of termination.
+ bool is_terminating ();
+
// Derived object destroys own_t. There's no point in allowing
// others to invoke the destructor. At the same time, it has to be
// virtual so that generic own_t deallocation mechanism destroys