- 29 Sep, 2016 3 commits
-
-
Min RK authored
Return value is the number of events found. This also propagates to the return value of zmq_poller_wait_all. zmq_poller_wait was only returning events on the first-registered socket.
-
Constantin Rack authored
avoid passing duplicate entries to zmq_poll
-
Min RK authored
zmq_poller doesn't allow a socket to appear twice
-
- 28 Sep, 2016 10 commits
-
-
Luca Boccassi authored
heap-allocate events in zmq_poller_poll
-
Min RK authored
variable-size array allocation is not allowed by some compilers
-
Luca Boccassi authored
Support all sockets in zmq_poll
-
Doron Somech authored
only define clock macros on darwin if not already defined
-
Doron Somech authored
update socket_poller when ZMQ_POLL_BASED_ON_SELECT
-
Min RK authored
enables zmq_poll on threadsafe sockets only supported in zmq_poller (radio, dish, etc.)
-
Min RK authored
previous patch updated only the branch for ZMQ_POLL_BASED_ON_POLL, causing failed builds on Windows.
-
Min RK authored
clang from Xcode 8 has these already defined, causing duplicate macro warnings
-
Constantin Rack authored
Problem: Brocade has copyright but not in AUTHORS and RELICENSE
-
Constantin Rack authored
Problem: pkg-config Requires.private is broken
-
- 27 Sep, 2016 12 commits
-
-
Luca Boccassi authored
-
Luca Boccassi authored
Solution: add it. Some of the work that I do happens during working hours and hence the copyright belongs to my employer, Brocade Communications Systems Inc. Note this in the AUTHORS file.
-
Luca Boccassi authored
Solution: use only Libs.private to avoid breaking application builds. Even though Requires.private are supposed to be parsed only if pkg-config is called with --static, the --cflags parameter is enough to trigger the parsing, causing build failures for applications that do not (and should not) depend on libzmq's dependencies.
-
Constantin Rack authored
Problem: pkgconfig file does not support static link
-
Luca Boccassi authored
Solution: add dependencies, if necessary, to the .private Libs and Requires field of the pkgconfig file at build time. This way pkg-config --static --libs libzmq will correctly print dependencies if they were used to build the static libzmq.a library.
-
Doron Somech authored
pass through poller events
-
Min RK authored
instead of allocating a new, identical array and copying the data. This is only safe while zmq_poller_event_t and zmq::socket_poller_t::event_t are the same struct, which they presumably will remain.
-
Doron Somech authored
add n_events argument to zmq_poller_wait_all
-
Min RK authored
avoids unnecessary heap allocations, races on the number of items
-
Doron Somech authored
Problem: zmq_poller only signals one event
-
Min RK authored
Solution: zmq_poller_wait_all signals all events allows signaling multiple events with one call to zmq_poller_wait_all rather than emitting only one event. this prepares for zmq_poll being based on zmq_poller, which requires events for all sockets rather than just one.
-
Laughing authored
* fix bugs of the pollset 1. extend 'fd_table' when fd_ is greater or equal than the size of 'fd_table'; 2. delete specific fd from pollset before reset pollin or pollout according the description of AIX document * fix bugs of the pollset edit error. remove extra spaces and paste fault * fix bugs of pollset remove character '-' at the end line.
-
- 25 Sep, 2016 4 commits
-
-
Constantin Rack authored
fix markup syntax on zmq_tipc(7) page
-
Patrik Wenger authored
-
Luca Boccassi authored
Fix fd_entry may reference invalid object.
-
Ilya Kulakov authored
fd_entries (std::vector) can reallocate underlying storage which will render reference invalid.
-
- 24 Sep, 2016 4 commits
-
-
Constantin Rack authored
Problem: zmq_ctx_term asserts with connect-before-bind and sockets with identity over inproc transport
-
Luca Boccassi authored
Solution: add a zmq_assert to check if the ephemeral sockets created to drain the queue of pending inproc connecting sockets was allocated successfully.
-
Luca Boccassi authored
Problem: zmq_ctx_term asserts with connect-before-bind and sockets with identity over inproc transport Solution: check if the connecting inproc socket has been closed before trying to send the identity. Otherwise the pipe will be in waiting_for_delimiter state causing writes to fail and the connect to assert when the context is being torn down and the pending inproc connects are resolved. Add test case that covers this behaviour.
-
Luca Boccassi authored
Solution: add one to increase coverage
-
- 23 Sep, 2016 2 commits
-
-
Luca Boccassi authored
Problem: Pub socket crashes on client disconnect.
-
Gennady Makovetski authored
Problem: Pub socket crashes on client disconnect. family_entry.fd_entries [i] is modified in zmq::select_t::rm_fd() Solution: do not copy family_entry.fd_entries [i]
-
- 21 Sep, 2016 5 commits
-
-
Constantin Rack authored
Problem: documentation markup unrecognized
-
Patrik Wenger authored
The effect can be seen on http://api.zeromq.org/4-2:zmq-getsockopt at options ZMQ_USE_FD and ZMQ_RATE. Solution: fix length of squiggly line under option title
-
Luca Boccassi authored
Pollset-change the position of `pollset`
-
hnwyllmm@126.com authored
-
hnwyllmm@126.com authored
-