1. 13 Nov, 2010 1 commit
  2. 12 Nov, 2010 1 commit
  3. 30 Oct, 2010 1 commit
  4. 23 Oct, 2010 1 commit
  5. 16 Oct, 2010 2 commits
  6. 14 Oct, 2010 1 commit
  7. 13 Oct, 2010 1 commit
  8. 09 Oct, 2010 1 commit
    • Martin Sustrik's avatar
      Version macros added · ef8db789
      Martin Sustrik authored
      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: 's avatarMartin Sustrik <sustrik@250bpm.com>
      ef8db789
  9. 30 Sep, 2010 2 commits
    • Martin Lucina's avatar
      zmq_poll(): Fix busy-loop if timeout is zero · 8f9080eb
      Martin Lucina authored
      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.
      8f9080eb
    • Steven McCoy's avatar
      * Add assertions to check for OpenPGM calls with invalid parameters. · 96d85b20
      Steven McCoy authored
       * 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.
      96d85b20
  10. 28 Sep, 2010 1 commit
  11. 26 Sep, 2010 1 commit
  12. 20 Sep, 2010 3 commits
  13. 09 Sep, 2010 1 commit
  14. 08 Sep, 2010 1 commit
  15. 04 Sep, 2010 2 commits
  16. 28 Aug, 2010 1 commit
  17. 27 Aug, 2010 1 commit
  18. 26 Aug, 2010 1 commit
  19. 25 Aug, 2010 7 commits
    • Martin Sustrik's avatar
      dezombification procedure fixed · 936dbf95
      Martin Sustrik authored
      936dbf95
    • Martin Lucina's avatar
      zmq_poll(): Fix some corner cases · ee1f1af0
      Martin Lucina authored
      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.
      ee1f1af0
    • Martin Lucina's avatar
      zmq_poll(): Rewrite to use ZMQ_FD/ZMQ_EVENTS pt2 · a85d1e51
      Martin Lucina authored
      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.
      a85d1e51
    • Martin Lucina's avatar
      Fix whitespace · 6b1ca2cb
      Martin Lucina authored
      Dunno where those <TAB>s came from...
      6b1ca2cb
    • Martin Lucina's avatar
      zmq_poll(): Rewrite to use ZMQ_FD/ZMQ_EVENTS pt1 · cd125084
      Martin Lucina authored
      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.
      cd125084
    • Martin Sustrik's avatar
      WIP: Socket migration between threads, new zmq_close() semantics · 05d90849
      Martin Sustrik authored
      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.
      05d90849
    • Martin Lucina's avatar
      zmq_stopwatch_stop: Don't return EFAULT · b66dd7af
      Martin Lucina authored
      Function returning unsigned long int cannot return (-1)
      b66dd7af
  20. 08 Aug, 2010 1 commit
    • Pieter Hintjens's avatar
      Added error checking (EFAULT) for null arguments · b6cdd369
      Pieter Hintjens authored
      * 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
      b6cdd369
  21. 07 Aug, 2010 1 commit
  22. 17 Jun, 2010 2 commits
  23. 04 Jun, 2010 2 commits
  24. 09 May, 2010 1 commit
  25. 06 May, 2010 1 commit
  26. 05 May, 2010 2 commits