mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-29 04:17:57 +01:00
single term ack counting mechanism for every socket (no separate mechanisms for fq_t and lb_t)
This commit is contained in:
@@ -49,17 +49,10 @@ void zmq::sub_t::xattach_pipes (class reader_t *inpipe_,
|
||||
|
||||
void zmq::sub_t::process_term ()
|
||||
{
|
||||
register_term_acks (1);
|
||||
fq.terminate ();
|
||||
|
||||
socket_base_t::process_term ();
|
||||
}
|
||||
|
||||
void zmq::sub_t::terminated ()
|
||||
{
|
||||
unregister_term_ack ();
|
||||
}
|
||||
|
||||
int zmq::sub_t::xsetsockopt (int option_, const void *optval_,
|
||||
size_t optvallen_)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user