From 61ee6fae536a8000be87b5aaf271f6519a3b7d3f Mon Sep 17 00:00:00 2001 From: Martin Hurton Date: Mon, 1 Mar 2010 10:13:26 +0100 Subject: Implement flow control This commit introduces the necessary changes necessary for implementing flow control. None of the socket types implements the flow control yet. The code will crash when the flow control is enabled and the thw lwm is reached. The following commits will add flow-control support for individual socket types. --- src/upstream.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/upstream.cpp') diff --git a/src/upstream.cpp b/src/upstream.cpp index 7ff1157..8163c18 100644 --- a/src/upstream.cpp +++ b/src/upstream.cpp @@ -62,6 +62,11 @@ void zmq::upstream_t::xrevive (class reader_t *pipe_) fq.revive (pipe_); } +void zmq::upstream_t::xrevive (class writer_t *pipe_) +{ + zmq_assert (false); +} + int zmq::upstream_t::xsetsockopt (int option_, const void *optval_, size_t optvallen_) { -- cgit v1.2.3