- 10 Mar, 2018 1 commit
-
-
Manuel Segura authored
* Problem: Still need to port over more files to VxWorks 6.x Solution: Port more files to VxWorks 6.x * Problem: Need to port over remaining files to VxWorks 6.x. Also remove POSIX thread dependency for VxWorks (because of priority inversion problem in POSIX mutexes with VxWorks 6.x processes) Solution: Port over remaining files to VxWorks 6.x. Also removed POSIX thread dependency for VxWorks * Problem: Needed to modify TCP, UDP, TIPC classes with #ifdefs to be compatible with VxWorks 6.x. Solution: Modify TCP, UDP, TIPC classes with #ifdefs to be compatible with VxWorks 6.x
-
- 09 Mar, 2018 3 commits
-
-
Simon Giesecke authored
Fixed issue #2979
-
Kachanovskiy authored
-
Luca Boccassi authored
* Problem: TIPC availability check is too strict Solution: at build time only check if the API is available. In the tests do a first check and a skip if the functionality is not available. TIPC needs an in-tree but not loaded by default kernel module, tipc.ko to be loaded, which requires root, so it is unlikely to be available on any build system by default. This will allow most distributions to ship with TIPC support built in, and to avoid tests failure if the module is not there. * Problem: no Travis tests for TIPC Solution: mark one job with sudo: required and load the kernel module * Problem: CMake fails when test returns 77 (skip) Solution: set property to let it mark the test as skipped as intended
-
- 07 Mar, 2018 4 commits
-
-
Pontus.Skoeldstroem authored
* Tests for different TIPC address types and code cleanup * Adds tests for binding/connecting with different TIPC address types using Unity * Adds error checking for address type misuse
-
Luca Boccassi authored
Revert "Problem: mis-detection of threadsafe_static_init causes test failures"
-
Simon Giesecke authored
-
Constantin Rack authored
Problem: mis-detection of threadsafe_static_init causes test failures
-
- 06 Mar, 2018 6 commits
-
-
Luca Boccassi authored
Solution: do not rely __cplusplus >= 201103L to detect whether the compiler supports thread safe static initialisation, but check only the proper feature preprocessor macro. GCC introduced it in version 8, and Clang in version 6.
-
Constantin Rack authored
Problem: build broken with gcc-4.7
-
Luca Boccassi authored
Solution: initialise variable in options.cpp to dummy value to fix compiler complaint: src/options.cpp: In function 'int zmq::do_setsockopt_int_as_bool_strict(const void*, size_t, bool*)': src/options.cpp:121:5: error: 'value' may be used uninitialized in this function [-Werror=maybe-uninitialized] src/options.cpp: In function 'int zmq::do_setsockopt_int_as_bool_relaxed(const void*, size_t, bool*)': src/options.cpp:135:31: error: 'value' may be used uninitialized in this function [-Werror=maybe-uninitialized]
-
Luca Boccassi authored
Problem: code duplication in getsockopt/setsockopt
-
Simon Giesecke authored
Solution: extracted common code into do_getsockopt/do_setsockopt functions
-
Luca Boccassi authored
Problem: static initialization order fiasco
-
- 05 Mar, 2018 7 commits
-
-
Constantin Rack authored
Problem: CI check for format fails
-
Luca Boccassi authored
Solution: add paragraph explaining how to run it to make sure code is correctly formatted.
-
Luca Boccassi authored
Solution: run make clang-format-diff and commit the changes.
-
Luca Boccassi authored
Problem: enormous memory increase due to zero copy decoding
-
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.
-
Ryan Hileman authored
* fix pthread condvar timeouts This fixes a race condition / hang for threadsafe sockets. Context: https://github.com/zeromq/czmq/issues/1873#issuecomment-370279244
-
Simon Giesecke authored
Solution: use local statics when available in a thread-safe implementation
-
- 02 Mar, 2018 19 commits
-
-
Luca Boccassi authored
Problem: unittest_mtrie fails on 32bit *nix
-
Luca Boccassi authored
Solution: correctly dereference pointer in test.
-
Luca Boccassi authored
Problem: no unit tests for mtrie
-
Simon Giesecke authored
Solution: Return an enum from rm instead of a bool, and adapt existing uses
-
Simon Giesecke authored
Solution: generalized terms to entries/values
-
Simon Giesecke authored
Solution: added test case
-
Luca Boccassi authored
Solultion: clarify that notifications for unique subs/unsubs are always passed, and these option only affect the behaviour for duplicated ones.
-
Luca Boccassi authored
Solution: add test_xpub_verbose to cover those APIs
-
Simon Giesecke authored
Solution: introduce a type template argument
-
Simon Giesecke authored
Solution: added further test cases
-
Simon Giesecke authored
Solution: added some TODO comments, improved existing documentation
-
Simon Giesecke authored
Solution: added test case, reduced code duplication in tests
-
Simon Giesecke authored
Solution: added unit test and assertions
-
Simon Giesecke authored
Solution: add test case
-
Simon Giesecke authored
Solution: added some test cases for rm
-
Simon Giesecke authored
Solution: added test case
-
Simon Giesecke authored
Solution: add CODE_COVERAGE_*FLAGS to unit tests build Fixes #2949
-
Simon Giesecke authored
Solution: add some more test cases
-
Simon Giesecke authored
Solution: made mtrie generic (to remove complex dependency on pipe_t), and added some unit tests
-