From 61ad236e9543a569fe066872a5fda4fa40ea7591 Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Sat, 13 Mar 2010 14:40:10 +0100 Subject: ZMQ_NOFLUSH and zmq_flush obsoleted --- src/downstream.cpp | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/downstream.cpp') diff --git a/src/downstream.cpp b/src/downstream.cpp index ca614d8..4074a9e 100644 --- a/src/downstream.cpp +++ b/src/downstream.cpp @@ -83,16 +83,6 @@ int zmq::downstream_t::xsend (zmq_msg_t *msg_, int flags_) return lb.send (msg_, flags_); } -int zmq::downstream_t::xflush () -{ - // TODO: Maybe there's a point in flushing messages downstream. - // It may be useful in the case where number of messages in a single - // transaction is much greater than the number of attached pipes. - errno = ENOTSUP; - return -1; - -} - int zmq::downstream_t::xrecv (zmq_msg_t *msg_, int flags_) { errno = ENOTSUP; -- cgit v1.2.3