diff options
Diffstat (limited to 'src/own.hpp')
-rw-r--r-- | src/own.hpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/own.hpp b/src/own.hpp index b65177e..6b6f7bf 100644 --- a/src/own.hpp +++ b/src/own.hpp @@ -52,6 +52,14 @@ namespace zmq // before the command is delivered. void inc_seqnum (); + // Use following two functions to wait for arbitrary events before + // terminating. Just add number of events to wait for using + // register_tem_acks functions. When event occurs, call + // remove_term_ack. When number of pending acks reaches zero + // object will be deallocated. + void register_term_acks (int count_); + void unregister_term_ack (); + protected: // Launch the supplied object and become its owner. @@ -77,14 +85,6 @@ namespace zmq // steps to the beginning of the termination process. void process_term (); - // Use following two functions to wait for arbitrary events before - // terminating. Just add number of events to wait for using - // register_tem_acks functions. When event occurs, call - // remove_term_ack. When number of pending acks reaches zero - // object will be deallocated. - void register_term_acks (int count_); - void unregister_term_ack (); - // A place to hook in when phyicallal destruction of the object // is to be delayed. virtual void process_destroy (); |