diff options
author | Martin Sustrik <sustrik@250bpm.com> | 2011-03-24 12:27:06 +0100 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2011-03-24 12:27:06 +0100 |
commit | 8463b4d55e45ea29d5a23f867e7f1c0077279ee7 (patch) | |
tree | 2c728398c1a8e7bd9b1bcb938fbce8a543147e1c /src/session.cpp | |
parent | fb27a000d9383b503761d0124e7bd41115d70c9a (diff) |
SWAP functionality removed
On-disk storage should be implemented in devices rather than
in 0MQ core. 0MQ is a networking library and there's no point
in storing network buffers on disk.
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'src/session.cpp')
-rw-r--r-- | src/session.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/session.cpp b/src/session.cpp index 3ba971f..176f0ef 100644 --- a/src/session.cpp +++ b/src/session.cpp @@ -247,13 +247,11 @@ void zmq::session_t::process_attach (i_engine *engine_, // Create the pipes, as required. if (options.requires_in) { - create_pipe (socket, this, options.hwm, options.swap, - &socket_reader, &out_pipe); + create_pipe (socket, this, options.hwm, &socket_reader, &out_pipe); out_pipe->set_event_sink (this); } if (options.requires_out) { - create_pipe (this, socket, options.hwm, options.swap, &in_pipe, - &socket_writer); + create_pipe (this, socket, options.hwm, &in_pipe, &socket_writer); in_pipe->set_event_sink (this); } |