summaryrefslogtreecommitdiff
path: root/src/zmq.cpp
AgeCommit message (Collapse)Author
2010-08-25zmq_poll(): Rewrite to use ZMQ_FD/ZMQ_EVENTS pt2Martin Lucina
Rewrite the select()-based zmq_poll() implementation to use ZMQ_FD and ZMQ_EVENTS. Also fix some corner cases: We should not pollute revents with unrequested events, and we don't need to poll on ZMQ_FD at all if a pollitem with no events set was passed in.
2010-08-25Fix whitespaceMartin Lucina
Dunno where those <TAB>s came from...
2010-08-25zmq_poll(): Rewrite to use ZMQ_FD/ZMQ_EVENTS pt1Martin Lucina
Rewrite zmq_poll() to use ZMQ_FD and ZMQ_EVENTS introduced on the wip-shutdown branch. Only do the poll()-based version of zmq_poll (), the select()-based version will not compile at the moment.
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-25zmq_stopwatch_stop: Don't return EFAULTMartin Lucina
Function returning unsigned long int cannot return (-1)
2010-08-08Added error checking (EFAULT) for null argumentsPieter Hintjens
* Fixed zmq_term, zmq_socket, zmq_close, zmq_setsockopt, * zmq_getsockopt, zmq_bind, zmq_connect, zmq_send, * zmq_recv, zmq_poll, zmq_device, zmq_stopwatch_stop * Updated Reference Manual for these methods
2010-08-07Added not-null assertions on pointer arguments in C API functionsPieter Hintjens
* zmq_term * zmq_socket * zmq_close * zmq_setsockopt * zmq_getsockopt * zmq_bind * zmq_connect * zmq_send * zmq_recv * zmq_poll * zmq_device * zmq_stopwatch_stop
2010-06-17Windows build fixedMartin Sustrik
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-09Fix in zmq_poll (Windows version)Martin Sustrik
2010-05-06Issue 23. zmq_init() crashes on illegal numbersMartin Sustrik
2010-05-05dispatcher_t class renamed to ctx_tMartin Sustrik
2010-05-05number of application threads to use 0MQ sockets is unlimited; app_threads ↵Martin Sustrik
parameter in zmq_init is unused and obsolete
2010-04-29signaler rewritten in such a way that any number (>64) of threads can be usedMartin Sustrik
2010-04-29lock-free polling removed; ZMQ_POLL flag removedMartin Sustrik
2010-04-12zmq_poll returns ETERM in case of context terminationMartin Sustrik
2010-04-11issue 1 - Change zmq_term semanticsMartin Sustrik
2010-04-09zmq_getsockopt function addedMartin Sustrik
2010-04-08issue 10 - zmq_strerror problem on WindowsMartin Sustrik
2010-04-07devices can be created via APIJon Dyte
2010-03-27as advertised, zmq_flush and ZMQ_NOFLUSH were removedMartin Sustrik
2010-03-13ZMQ_NOFLUSH and zmq_flush obsoletedMartin 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
2010-03-09message flags added to zmq_msg_t strcutureMartin Sustrik
2010-03-01polling on POSIX sockets returns POLLERR (win32)unknown
2010-03-01return POLLERR from polling on POSIX sockets (linux version)Martin Sustrik
2010-02-23zmq_errno helper function addedMartin Sustrik
2010-02-22zmq_poll doesn't exit when infinite timeout is set and interrupt occursMartin Sustrik
2010-02-18Add NetBSD supportMartin Lucina
2010-02-11Integrate version numbering into autoconfMartin Lucina
configure.in is now the master source for the package version number, this propagates to src/platform.hpp (for zmq_version) and doc/Makefile.am (for documentation generation) automagically.
2010-02-11ZMQII-72: Add zmq_version functionMartin Sustrik
2010-02-10ZMQII-70: zmq_poll on win32 fails with EINVALMartin Sustrik
2010-02-09ZMQII-57: Shutdown OpenPGM libraryMartin Sustrik
2010-01-14ZMQII-34: ensure that poll won't return POLLIN event when the message will ↵unknown
be filtered out anyway (Win32)
2010-01-13ZMQII-34: ensure that poll won't return POLLIN event when the message will ↵Martin Sustrik
be filtered out anyway (POSIX)
2010-01-09ZMQII-33: zmq_poll may exceed timeout if signal interrupts the waitingMartin Sustrik
2010-01-08ZMQII-31: memory leak in zmq_poll (on timeout)Martin Sustrik
2010-01-07zmq.cpp build probelm on non-linux platforms fixedMartin Sustrik
2010-01-05Copyrights transferred from FastMQ to iMatixMartin Sustrik
2010-01-04ZMQII-29: Add timeout to zmq_poll functionMartin Sustrik
2009-12-16hint parameter added to zmq_free functionMartin Sustrik
2009-12-15all news converted to nothrow variantMartin Sustrik
2009-12-10zmq_poll implemented on Win32 platformunknown
2009-11-21inproc transport - initial commitMartin Sustrik
2009-10-01windows error handling improvedunknown
2009-10-01ZMQII-18: Implement I/O multiplexing (first approximation)Martin Sustrik
2009-09-22POSIX error codes unsupported on win platform fakedMartin Sustrik
2009-09-22ZMQ-specific error codes addedMartin Sustrik