Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-04-21 | Message-related functionality factored out into msg_t class. | Martin Sustrik | |
This patch addresses serveral issues: 1. It gathers message related functionality scattered over whole codebase into a single class. 2. It makes zmq_msg_t an opaque datatype. Internals of the class don't pollute zmq.h header file. 3. zmq_msg_t size decreases from 48 to 32 bytes. That saves ~33% of memory in scenarios with large amount of small messages. Signed-off-by: Martin Sustrik <sustrik@250bpm.com> | |||
2011-04-09 | Run-time checking for context & socket validity added | Martin Sustrik | |
Signed-off-by: Martin Sustrik <sustrik@250bpm.com> | |||
2011-03-02 | The copyrights in file headers updated. | Martin Sustrik | |
Signed-off-by: Martin Sustrik <sustrik@250bpm.com> | |||
2011-02-25 | Socket with no owner objects is deallocated immediately | Martin Sustrik | |
Till now the deallocation of such socket was delayed till zmq_term() thus creating a "leak". Signed-off-by: Martin Sustrik <sustrik@250bpm.com> | |||
2011-02-09 | Reaper thread waits for commands rather them retrieving them periodically | Martin Sustrik | |
Signed-off-by: Martin Sustrik <sustrik@250bpm.com> | |||
2011-02-09 | Initial implementation of reaper thread. | Martin Sustrik | |
Reaper thread destroys the socket asynchronously. zmq_term() can be interrupted by a signal (EINTR). zmq_socket() will return ETERM after zmq_term() was called. Signed-off-by: Martin Sustrik <sustrik@250bpm.com> | |||
2011-01-13 | Make cppcheck not complain about "'operator=' should return something" | Martin Sustrik | |
Signed-off-by: Martin Sustrik <sustrik@250bpm.com> | |||
2010-12-13 | add basic uri validations | Dhammika Pathirana | |
Signed-off-by: Dhammika Pathirana <dhammika@gmail.com> | |||
2010-11-05 | signaler renamed to mailbox | Martin Sustrik | |
For historical reasons queue to transfer commands between threads was called 'signaler'. Given that it was used to pass commands rather than signals it was renamed to 'mailbox', see Erlang mailboxes. Signed-off-by: Martin Sustrik <sustrik@250bpm.com> | |||
2010-11-05 | slots renamed to tids | Martin Sustrik | |
Threads were so far identified by integers called 'slots'. This patch renames them to more comprehensible 'tid's (thread IDs). Signed-off-by: Martin Sustrik <sustrik@250bpm.com> | |||
2010-10-30 | Name of "GNU Lesser Public License" corrected. | Martin Sustrik | |
Signed-off-by: Martin Sustrik <sustrik@250bpm.com> | |||
2010-10-16 | ZMQ_LINGER socket option added. | Martin Sustrik | |
1. ZMQ_LINGER option can be set/get 2. options are part of own_t base class rather than being declared separately by individual objects 3. Linger option is propagated with "term" command so that the newest value of it is used rather than the stored old one. 4. Session sets the linger timer if needed and terminates as soon as it expires. 5. Corresponding documentation updated. Signed-off-by: Martin Sustrik <sustrik@250bpm.com> | |||
2010-09-26 | clock_t class added | Martin Sustrik | |
2010-09-21 | minor error in comment fixed | Martin Sustrik | |
2010-09-21 | The flag in the socket has clear semantics now -- it tracks whether ↵ | Martin Sustrik | |
corresponding context was closed, it doesn't track whether zmq_close was called on the socket itself | |||
2010-09-08 | EINTR returned from the blocking functions | Martin Sustrik | |
2010-08-31 | naming cleanup: yarray->array | Martin Sustrik | |
2010-08-25 | elementary fixes to the named session | Martin Sustrik | |
2010-08-25 | one more dezombification bug fixed | Martin Sustrik | |
2010-08-25 | dezombification procedure fixed | Martin Sustrik | |
2010-08-25 | I/O object hierarchy implemented | Martin Sustrik | |
2010-08-25 | WIP: Socket migration between threads, new zmq_close() semantics | Martin 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-04-11 | multi-part message functionality available via ZMQ_SNDMORE and ZMQ_RCVMORE | Martin Sustrik | |
2010-04-09 | zmq_getsockopt function added | Martin Sustrik | |
2010-03-13 | ZMQ_NOFLUSH and zmq_flush obsoleted | Martin Sustrik | |
2010-03-12 | Implement flow control | Martin 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-11 | Restructure language bindings | Martin 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-02-16 | Multi-hop REQ/REP, part XI., finalise the XREQ/XREP functionality | Martin Sustrik | |
2010-02-13 | Multi-hop REQ/REP, part IX., pass the peer identity as far as socket_base_t | Martin Sustrik | |
2010-02-13 | Multi-hop REQ/REP, part VIII., new blob_t type used for holding identity | Martin Sustrik | |
2010-02-13 | Multi-hop REQ/REP, part VII., identity-related algorithms rewritten | Martin Sustrik | |
2010-01-05 | Copyrights transferred from FastMQ to iMatix | Martin Sustrik | |
2009-12-23 | ZMQII-28: Bidirectional introduction on TCP connection establishment | Martin Sustrik | |
2009-12-02 | seqnum mechanism automated | Martin Sustrik | |
2009-12-01 | annoying optimisation in 'bind' command removed | Martin Sustrik | |
2009-11-21 | race condition in inproc transport shutdown fixed | Martin Sustrik | |
2009-11-21 | obsolete parameter removed from 'bind' command | Martin Sustrik | |
2009-11-21 | inproc transport - initial commit | Martin Sustrik | |
2009-10-01 | ZMQII-18: Implement I/O multiplexing (first approximation) | Martin Sustrik | |
2009-09-23 | ZMQII-16: Change "struct zmq_msg_t" to "zmq_msg_t" in C binding | Martin Sustrik | |
2009-09-21 | different fixes to req/rep | Martin Sustrik | |
2009-09-21 | initial version of req/rep sockets | Martin Sustrik | |
2009-09-11 | added OpenPGM sender - ZMQ_PUB | malosek | |
2009-09-10 | ZMQII-3: cheap and nasty implementation of message filtering | Martin Sustrik | |
2009-09-02 | O(1) socket removal | Martin Sustrik | |
2009-09-02 | python extension & perf tests | Martin Sustrik | |
2009-08-28 | pipe deallocation added | Martin Sustrik | |
2009-08-27 | pipes added | Martin Sustrik | |
2009-08-21 | session management implemented | Martin Sustrik | |
2009-08-20 | couple of bugs in shutdown mechanism fixed | Martin Sustrik | |