Skip to content

Commit

Permalink
Update pipe.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhuXxxx committed Mar 11, 2024
1 parent 481cc3f commit 2e3360c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/pipe.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -537,6 +537,11 @@ bool zmq::pipe_t::check_hwm () const
return !full;
}

bool zmq::pipe_t::is_active() const
{
return active == _state;
}

void zmq::pipe_t::send_hwms_to_peer (int inhwm_, int outhwm_)
{
if (_state == active)
Expand Down

0 comments on commit 2e3360c

Please sign in to comment.