1. 12 Mar, 2017 2 commits
    • Luca Boccassi's avatar
      Problem: I can't refactor · 092ad50b
      Luca Boccassi authored
      Solution: fix ifdef check for pthread_setname
      092ad50b
    • Luca Boccassi's avatar
      Problem: ZMQ background threads are unnamed · 3ab4796c
      Luca Boccassi authored
      Solution: use pthread API to set the name. For now call every thread
      "ZMQ b/g thread". Would be nice to number the I/O threads and name
      explicitly the reaper thread, but in reality a bit of internal API
      churn would be necessary, so perhaps it's not worth it.
      This is useful when debugging a process with many threads.
      3ab4796c
  2. 05 Nov, 2016 1 commit
  3. 14 May, 2016 1 commit
  4. 12 May, 2016 1 commit
    • hitstergtd's avatar
      Problem: scheduling parameters unused on OSX · e946b0d1
      hitstergtd authored
      Solution:
      Mark them with LIBZMQ_UNUSED macro as per convention; although in future the
      appropriate pthread code should be updated to support thread scheduling
      priorities (for Mac OS X, et. al.)
      e946b0d1
  5. 02 Apr, 2016 1 commit
  6. 18 Feb, 2016 1 commit
  7. 07 Feb, 2016 1 commit
  8. 28 Jan, 2016 1 commit
  9. 20 Jan, 2016 1 commit
  10. 20 Aug, 2015 1 commit
  11. 02 Jun, 2015 2 commits
  12. 22 Jan, 2015 1 commit
  13. 24 Jul, 2014 1 commit
    • Ewen McNeill's avatar
      z/OS: Skip pthread_{get,set}schedparam · 501666d0
      Ewen McNeill authored
      Updated:
          src/thread.cpp: On older z/OS UNIX System Services,
              pthread_{get,set}schedparam is not present (searching the
              Internet suggests it may be present in later version than
              the one being used for z/OS UNIX System Services porting).
      
              Make zmq::thread_t::setSchedulingParameters() a no-op on
              z/OS UNIX System Services.
      
          NOTE: pthread_{get,set}schedparam appear to have been introduced
          by POSIX.1-2001 or IEEE 1003.1-2004 so may not be universally
          available, and thus more platforms may need this "no-op" treatment.
      501666d0
  14. 02 Jul, 2014 1 commit
  15. 25 Jun, 2014 2 commits
    • Pieter Hintjens's avatar
      Code cleanups · 2524e268
      Pieter Hintjens authored
      2524e268
    • Joel Lauener's avatar
      Allow change of pthread priority · 112ef6f1
      Joel Lauener authored
      Rationale: In a real-time environment it is sometime mandatory to tune
      threads priority and scheduling policy. This is required by our users
      who mixes real-time and server threads within
      the same process. It's not planned to support this on non-pthread
      platforms (e.g. Windows).
      112ef6f1
  16. 03 Feb, 2014 1 commit
  17. 02 Jan, 2014 1 commit
  18. 12 Mar, 2013 1 commit
    • Pieter Hintjens's avatar
      Removed corporate advertisements from source file headers · f0f16505
      Pieter Hintjens authored
      Copyrights had become ads for Sustrik's corporate sponsors, going against the original
      agreement to share copyrights with the community (that agreement was: one line stating
      iMatix copyright + one reference to AUTHORS file). The proliferation of corporate ads
      is also unfair to the many individual authors. I've removed ALL corporate title from
      the source files so the copyright statements can now be centralized in AUTHORS and
      source files can be properly updated on an annual basis.
      f0f16505
  19. 19 Feb, 2013 1 commit
  20. 14 Mar, 2012 1 commit
    • boris@boressoft.ru's avatar
      Add WinCE support. · 318ba883
      boris@boressoft.ru authored
      * Added two new files: errno.hpp and errno.cpp. They are required to use errno functionality on WM.
      * zmq.cpp, msg.h: removed inclusion of errno.h because it is included in zmq.h that is also included by .cpp.
      * windows.hpp: process.h is included only for desktop builds.
      * thread.cpp: on CE CreateThread is used instead of __beginthreadex
      * socket_base.cpp, clock.cpp: on CE include cmnintrin.h instead on intrin.h
      * signaler.cpp: on Windows should use special macro around event name (for unicode builds)
      * err.hpp: make it include errno.hpp (my file) instead on errno.h when building for CE
      * err.cpp: use FormatMessage when building for CE (because CE does not have ANSI API functions)
      * zmq.h: do not include errno.h whe building for CE
      * libzmq.vcproj: add tro new files
      318ba883
  21. 01 Nov, 2011 1 commit
  22. 31 Oct, 2011 1 commit
  23. 15 Aug, 2011 1 commit
  24. 29 Jun, 2011 1 commit
  25. 04 Apr, 2011 1 commit
  26. 02 Apr, 2011 1 commit
  27. 02 Mar, 2011 1 commit
  28. 29 Nov, 2010 1 commit
  29. 27 Nov, 2010 1 commit
  30. 30 Oct, 2010 1 commit
  31. 25 Aug, 2010 1 commit
    • 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
  32. 05 Jan, 2010 1 commit
  33. 29 Aug, 2009 1 commit
  34. 03 Aug, 2009 1 commit
  35. 29 Jul, 2009 1 commit