From 8408ae066dce123fc93e4f53dbadb1f60b7f2e8a Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Tue, 25 May 2010 15:03:57 +0200 Subject: LWM is computed rather than explicitly specified by user --- src/pipe.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/pipe.hpp') diff --git a/src/pipe.hpp b/src/pipe.hpp index b0428b5..9f57653 100644 --- a/src/pipe.hpp +++ b/src/pipe.hpp @@ -150,7 +150,7 @@ namespace zmq public: pipe_t (object_t *reader_parent_, object_t *writer_parent_, - uint64_t hwm_, uint64_t lwm_); + uint64_t hwm_); ~pipe_t (); reader_t reader; @@ -158,6 +158,8 @@ namespace zmq private: + uint64_t compute_lwm (uint64_t hwm_); + pipe_t (const pipe_t&); void operator = (const pipe_t&); }; -- cgit v1.2.3