summaryrefslogtreecommitdiff
path: root/include/zmq.h
AgeCommit message (Collapse)Author
2010-10-16ZMQ_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-10-15Merge branch 'maint'Martin Sustrik
* maint: Makefile.am: Add missing files to distribution, improve maintainer-clean configure.in: Extract API version from zmq.h Added bin directory to ignore list. Conflicts: configure.in include/zmq.h
2010-10-15configure.in: Extract API version from zmq.hMartin Lucina
* Added a version.sh and relevant changes to configure.in to extract the API version from zmq.h at the time autogen.sh is run. * Moved the version macros to be next to zmq_version in zmq.h and improved the comments. * Modified ZMQ_MAKE_VERSION to use (x) instead of plain x when expanding macro parameters. Signed-off-by: Martin Lucina <mato@kotelna.sk>
2010-10-09Merge branch 'maint'Martin Sustrik
* maint: Version macros added Conflicts: builds/msvc/platform.hpp Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2010-10-09Version macros addedMartin Sustrik
Macro ZMQ_VERSION represents the current version of 0MQ Macro ZMQ_MAKE_VERSION(major,minor,patch) allows to create a representation of the specified version. The versions can be compared using simple <, >, ==, etc. operators. Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2010-09-28ZMQ_TYPE socket option addedGonzalo Diethelm
2010-09-09when no I/O threads are available error is raised instead of assertionMartin Sustrik
2010-09-08EMTHREAD error code returned to zmq.h to ensure backward compatibilityMartin Sustrik
2010-09-04Merge branch 'maint'Martin Sustrik
* maint: Broken device numbering reverted assert on malformed messages forwarder and streamer devices handle multi-part messages correctly improved null checking in zmq_term Conflicts: AUTHORS include/zmq.h src/zmq.cpp
2010-09-04Broken device numbering revertedMartin Sustrik
2010-09-04Merge branch 'maint'Martin Lucina
* maint: zmq::select_t, zmq_poll(): assert if FD_SETSIZE reached zmq.h: Fix typo and use of C99 comment Conflicts: src/zmq.cpp
2010-09-04zmq.h: Fix typo and use of C99 commentMartin Lucina
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-08-04Renamed ZMQ_UPSTREAM to ZMQ_PULL, and ZMQ_DOWNSTREAM to ZMQ_PUSH. Left the oldPieter Hintjens
definitions as aliases, to be removed in release 3.0. Also renamed the source files implementing these two socket types. This change does not break existing applications nor bindings, but allows us to fix the documentation and user guide now, rather than keeping the old (confusing) names.
2010-06-17stopwatch returned to libzmqMartin Sustrik
2010-06-04obsolete API elements removed - this commit breaks backward compatibilityMartin Sustrik
2010-06-04Move perf helper functions to perf/helpers.cppMartin Lucina
2010-05-25LWM is computed rather than explicitly specified by userMartin Sustrik
2010-04-29lock-free polling removed; ZMQ_POLL flag removedMartin Sustrik
2010-04-26P2P renamed to PAIRMartin Sustrik
2010-04-15Merge branch 'master' of git@github.com:sustrik/zeromq2Martin Sustrik
2010-04-15atomic_ptr fix of Win64Martin Sustrik
2010-04-12Build fixes for cross compiling and Win32Martin Lucina
2010-04-11issue 1 - Change zmq_term semanticsMartin Sustrik
2010-04-11C-style comments in zmq.hMartin Sustrik
2010-04-11multi-part message functionality available via ZMQ_SNDMORE and ZMQ_RCVMOREMartin Sustrik
2010-04-09zmq_getsockopt function addedMartin Sustrik
2010-04-07devices can be created via APIJon Dyte
2010-03-27ZMQ_TBC renamed to ZMQ_MOREMartin Sustrik
2010-03-27muti-part message functionality available via APIMartin Sustrik
2010-03-27as advertised, zmq_flush and ZMQ_NOFLUSH were removedMartin Sustrik
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
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-09-02python extension & perf testsMartin Sustrik
2009-08-30build system for perf/C and perf/C++Martin Sustrik
2009-08-27pipes addedMartin Sustrik
2009-08-21session management implementedMartin Sustrik
2009-08-17subscribe API removedMartin Sustrik
2009-08-12listener/connecter/init/session addedMartin Sustrik
2009-08-09getsockopt implementedMartin Sustrik
2009-08-09socket options interface modeled as in BSD socketsMartin Sustrik
2009-08-03renamed from zs to zmqMartin Sustrik