summaryrefslogtreecommitdiff
path: root/src/pipe.cpp
AgeCommit message (Collapse)Author
2010-09-13zmq::writer_t: Add missing test for swapMartin Lucina
2010-08-28msg_store_t renamed to swap_tMartin Sustrik
2010-08-28refactoring of pipe/swap interactionMartin Sustrik
2010-08-28terminology unified: revive->activateMartin Sustrik
2010-08-28bug in pipe deactivation fixedMartin Sustrik
2010-08-25REQ socket implementation is layered on top of XREQMartin Sustrik
2010-08-25Destruction of session is delayed till both in & out pipes are closedMartin Sustrik
2010-08-25WIP: Socket migration between threads, new zmq_close() semanticsMartin Sustrik
Sockets may now be migrated between OS threads; sockets may not be used by more than one thread at any time. To migrate a socket to another thread the caller must ensure that a full memory barrier is called before using the socket from the target thread. The new zmq_close() semantics implement the behaviour discussed at: http://lists.zeromq.org/pipermail/zeromq-dev/2010-July/004244.html Specifically, zmq_close() is now deterministic and while it still returns immediately, it does not discard any data that may still be queued for sending. Further, zmq_term() will now block until all outstanding data has been sent. TODO: Many bugs have been introduced, needs testing. Further, SO_LINGER or an equivalent mechanism (possibly a configurable timeout to zmq_term()) needs to be implemented.
2010-07-24pipe: check_read() should check for message delimiterMartin Hurton
2010-07-24Make sure lwm > 0 when hwm > 0Martin Hurton
2010-06-21Add SWAP supportMartin Hurton
2010-06-19Revive reader on pipe terminationMartin Hurton
2010-06-17pipe: fix bug in rollback() methodMartin Hurton
The msgs_written variable keeps track how many complete messages have been written so far. The rollback operation drops all fragments of the last incomplete message so it shouldn't change this variable at all.
2010-05-25LWM is computed rather than explicitly specified by userMartin Sustrik
2010-05-19incomplete messages can be stored in ypipeMartin Sustrik
2010-03-27ZMQ_TBC renamed to ZMQ_MOREMartin Sustrik
2010-03-27multi-part messages work with PUB/SUBMartin Sustrik
2010-03-13pipe_t::rollback removes only unfinished message from the pipe rather than ↵Martin Sustrik
all unflushed messages
2010-03-12Implement flow controlMartin Hurton
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.
2010-03-11Restructure language bindingsMartin Lucina
C and C++ headers moved from bindings/ to include/, bindings/ removed --with-c and --with-cpp options to configure removed, C and C++ now built and installed by default
2010-03-09message flags added to zmq_msg_t strcutureMartin Sustrik
2010-03-09rollback functionality added to pipeMartin Sustrik
2010-01-05Copyrights transferred from FastMQ to iMatixMartin Sustrik
2009-12-01minor code beautificationMartin Sustrik
2009-12-01MSVC warnings fixedunknown
2009-11-19ZMQII-24: SEGFAULT when anonymous session disconnectsMartin Sustrik
2009-09-30checking for available messages added to ypipe/pipeMartin Sustrik
2009-09-23ZMQII-16: Change "struct zmq_msg_t" to "zmq_msg_t" in C bindingMartin Sustrik
2009-09-21initial version of req/rep socketsMartin Sustrik
2009-09-16c and cpp directories moved into bindings directorymalosek
2009-09-11asserts for invalid indexes in pipe reader & writer addedMartin Sustrik
2009-09-07include directory split into c and cpp dirs, added --with-c and --with-cpp ↵malosek
configure options
2009-09-07initial changes for win portunknown
2009-08-28pipe deallocation addedMartin Sustrik
2009-08-27pipes addedMartin Sustrik
2009-08-06clean up - session/socket/engine stuff removedMartin Sustrik
2009-08-03renamed from zs to zmqMartin Sustrik
2009-07-29initial commitMartin Sustrik