1. 15 Jan, 2019 1 commit
  2. 18 Nov, 2018 1 commit
  3. 15 Aug, 2018 2 commits
  4. 09 Aug, 2018 1 commit
  5. 07 Aug, 2018 1 commit
  6. 28 May, 2018 2 commits
  7. 27 May, 2018 1 commit
  8. 26 May, 2018 2 commits
  9. 18 May, 2018 1 commit
  10. 13 May, 2018 1 commit
  11. 05 Mar, 2018 1 commit
    • Stefan Kaes's avatar
      Problem: enormous memory increase due to zero copy decoding · fcbd2a57
      Stefan Kaes authored
      The zero copy decoding strategy implemented for 4.2.0 can lead to a large
      increase of main memory usage in some cases (I have seen one program go up to
      40G from 10G after upgrading from 4.1.4). This commit adds a new option to
      contexts, called ZMQ_ZERO_COPY_RECV, which allows one to switch to the old
      decoding strategy.
      fcbd2a57
  12. 11 Feb, 2018 1 commit
  13. 02 Feb, 2018 1 commit
  14. 31 Jan, 2018 1 commit
  15. 25 Oct, 2017 1 commit
    • f18m's avatar
      Change ZMQ_THREAD_AFFINITY to… · 2aa0e6fd
      f18m authored
      Change ZMQ_THREAD_AFFINITY to ZMQ_THREAD_AFFINITY_CPU_ADD/ZMQ_THREAD_AFFINITY_CPU_REMOVE. Avoid prefix thread names when no prefix was set.
      2aa0e6fd
  16. 22 Oct, 2017 1 commit
  17. 17 Oct, 2017 1 commit
  18. 16 Oct, 2017 1 commit
    • f18m's avatar
      Background threads enhancements (#2778) · bfbb4ff2
      f18m authored
      * Background thread scheduling 
      
      - add ZMQ_THREAD_AFFINITY ctx option; set all thread scheduling options
      from the context of the secondary thread instead of using the main
      process thread context!
      - change ZMQ_THREAD_PRIORITY to support setting NICE of the background
      thread when using SCHED_OTHER
      bfbb4ff2
  19. 19 Sep, 2017 1 commit
  20. 07 Sep, 2017 1 commit
  21. 06 Sep, 2017 1 commit
  22. 28 Jul, 2017 1 commit
    • Luca Boccassi's avatar
      Problem: fd leak in tweetnacl with one ctx per thread · e015a0f8
      Luca Boccassi authored
      Solution: add a crypto [de-]initialiser, refcounted and serialised
      through critical sections.
      This is necessary as utility APIs such as zmq_curve_keypair also
      call into the sodium/tweetnacl libraries and need the initialisation
      outside of the zmq context.
      Also the libsodium documentation explicitly says that sodium_init
      must not be called concurrently from multiple threads, which could
      have happened until now. Also the randombytes_close function does
      not appear to be thread safe either.
      This change guarantees that the library is initialised only once at
      any given time across the whole program.
      Fixes #2632
      e015a0f8
  23. 17 May, 2017 1 commit
    • rkfg's avatar
      Problem: abort at socket creation on Android with jzmq · 72b4b683
      rkfg authored
      Solution: don't set thread name on Android
      
      Setting a thread name on Android may fail with "permission
      denied" error and abort the process due to failed assertion.
      Tested on Android 5 and 6 (two phones).
      Strangely enough, it only happens on signed APKs and is fine
      in debug. Using JeroMQ is not an option as we need TCP keepalive
      settings and authentication which JeroMQ doesn't support.
      72b4b683
  24. 12 Mar, 2017 2 commits
    • Luca Boccassi's avatar
      Problem: thread name is redundant · d7aceef2
      Luca Boccassi authored
      Solution: call it simply "ZMQ background" instead of "ZMQ b/g thread"
      d7aceef2
    • 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
  25. 20 Nov, 2016 1 commit
  26. 24 Sep, 2016 2 commits
  27. 17 Sep, 2016 1 commit
  28. 31 Jul, 2016 2 commits
  29. 18 May, 2016 1 commit
  30. 14 May, 2016 1 commit
  31. 30 Mar, 2016 2 commits
  32. 29 Mar, 2016 2 commits