Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-09-30 | zmq_poll(): Fix busy-loop if timeout is zero | Martin Lucina | |
Fix a case where zmq_poll() (poll-based version) could go off into a busy-loop if no revents are returned and the timeout passed in is zero. | |||
2010-09-30 | * Add assertions to check for OpenPGM calls with invalid parameters. | Steven McCoy | |
* Assertion to check that pgm_getaddrinfo is actually returning something. * Missing pgm_connect call. * Typo on TOS causing immediate abort. * Placeholder calls for timeouts whilst continuing spin loop functionality. * OpenPGM v5 now supports reference counting so remove init checks. * Duplicate UDP unicast port setting, requires one unicast and one multicast. * Incorrectly set socket rcvbuf size with sndbuf. * Replace std::lexicographical_compare of TSI's with long word integer comparisons. * pgm_socket_t::receive returns -1 on no data. | |||
2010-09-28 | Upgrade to OpenPGM-5.0.78 | Steven McCoy | |
2010-09-26 | clock_t class added | Martin Sustrik | |
2010-09-20 | zmq_poll (select version) now correctly assumes that ZMQ_FD is edge-trigerred | Martin Sustrik | |
2010-09-20 | zmq_poll honours ZMQ_FORCE_POLL and ZMQ_FORCE_SELECT options | Martin Lucina | |
2010-09-20 | minor problem in zmq_poll (select version) fixed | Martin Lucina | |
2010-09-09 | when no I/O threads are available error is raised instead of assertion | Martin Sustrik | |
2010-09-08 | EINTR returned from the blocking functions | Martin Sustrik | |
2010-09-04 | Merge 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-04 | zmq::select_t, zmq_poll(): assert if FD_SETSIZE reached | Martin Lucina | |
Ensure that 0MQ does not attempt to call select() on more than FD_SETSIZE file descriptors. | |||
2010-08-28 | zmq_poll: account for the fact that ZMQ_FD is edge-triggered | Martin Sustrik | |
2010-08-27 | zmq_poll returns prematurely even if infinite timeout is set - fixed | Martin Sustrik | |
2010-08-26 | improved null checking in zmq_term | Ivo Danihelka | |
2010-08-25 | dezombification procedure fixed | Martin Sustrik | |
2010-08-25 | zmq_poll(): Fix some corner cases | Martin Lucina | |
Trying to optimize out the case where items_[i]. events is 0 would result in a bogus pollfds[i]. Similarly in the select()-based impl, while not strictly necessary it's better to get ZMQ_FD even if events is 0 since that detects ETERM and friends. | |||
2010-08-25 | zmq_poll(): Rewrite to use ZMQ_FD/ZMQ_EVENTS pt2 | Martin 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-25 | Fix whitespace | Martin Lucina | |
Dunno where those <TAB>s came from... | |||
2010-08-25 | zmq_poll(): Rewrite to use ZMQ_FD/ZMQ_EVENTS pt1 | Martin 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-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-08-25 | zmq_stopwatch_stop: Don't return EFAULT | Martin Lucina | |
Function returning unsigned long int cannot return (-1) | |||
2010-08-08 | Added error checking (EFAULT) for null arguments | Pieter 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-07 | Added not-null assertions on pointer arguments in C API functions | Pieter 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-17 | Windows build fixed | Martin Sustrik | |
2010-06-17 | stopwatch returned to libzmq | Martin Sustrik | |
2010-06-04 | obsolete API elements removed - this commit breaks backward compatibility | Martin Sustrik | |
2010-06-04 | Move perf helper functions to perf/helpers.cpp | Martin Lucina | |
2010-05-09 | Fix in zmq_poll (Windows version) | Martin Sustrik | |
2010-05-06 | Issue 23. zmq_init() crashes on illegal numbers | Martin Sustrik | |
2010-05-05 | dispatcher_t class renamed to ctx_t | Martin Sustrik | |
2010-05-05 | number of application threads to use 0MQ sockets is unlimited; app_threads ↵ | Martin Sustrik | |
parameter in zmq_init is unused and obsolete | |||
2010-04-29 | signaler rewritten in such a way that any number (>64) of threads can be used | Martin Sustrik | |
2010-04-29 | lock-free polling removed; ZMQ_POLL flag removed | Martin Sustrik | |
2010-04-12 | zmq_poll returns ETERM in case of context termination | Martin Sustrik | |
2010-04-11 | issue 1 - Change zmq_term semantics | Martin Sustrik | |
2010-04-09 | zmq_getsockopt function added | Martin Sustrik | |
2010-04-08 | issue 10 - zmq_strerror problem on Windows | Martin Sustrik | |
2010-04-07 | devices can be created via API | Jon Dyte | |
2010-03-27 | as advertised, zmq_flush and ZMQ_NOFLUSH were removed | Martin Sustrik | |
2010-03-13 | ZMQ_NOFLUSH and zmq_flush obsoleted | Martin Sustrik | |
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-03-09 | message flags added to zmq_msg_t strcuture | Martin Sustrik | |
2010-03-01 | polling on POSIX sockets returns POLLERR (win32) | unknown | |
2010-03-01 | return POLLERR from polling on POSIX sockets (linux version) | Martin Sustrik | |
2010-02-23 | zmq_errno helper function added | Martin Sustrik | |
2010-02-22 | zmq_poll doesn't exit when infinite timeout is set and interrupt occurs | Martin Sustrik | |
2010-02-18 | Add NetBSD support | Martin Lucina | |
2010-02-11 | Integrate version numbering into autoconf | Martin 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-11 | ZMQII-72: Add zmq_version function | Martin Sustrik | |
2010-02-10 | ZMQII-70: zmq_poll on win32 fails with EINVAL | Martin Sustrik | |