Andrey Semashev
ae474ad1d5
Disabled 32-bit tests for clang with libc++ because of linking errors.
2019-10-13 23:12:27 +03:00
Andrey Semashev
cd91c032dd
Removed i386 package installs for libc++ and libc++abi.
2019-10-13 11:40:07 +03:00
Andrey Semashev
02663f40ca
Try re-enabling clang-win builds on VS2017 image.
2019-10-12 22:44:38 +03:00
Andrey Semashev
1e39a1ad1b
Re-disabled 32-bit clang UBSAN builds.
2019-10-12 20:59:12 +03:00
Andrey Semashev
62948cd18c
Downgraded clang builds to Xenial since there are no 32-bit packages for Bionic.
2019-10-12 19:01:14 +03:00
Andrey Semashev
c9c85555d3
Disabled 32-bit clang UBSAN builds due to linking errors.
2019-10-12 18:07:04 +03:00
Andrey Semashev
63b7ffeac9
Disabled clang-win because of linking problems.
2019-10-12 17:09:07 +03:00
Andrey Semashev
ce17f7bb8a
Updated CI configs, added new compilers.
2019-10-12 13:30:57 +03:00
Andrey Semashev
dde36a6ea6
Check event state on futex wakeups in manual_reset_event.
...
futex manpage[1] says that zero return code from a futex wait operation
may still indicate a spurious wakeup. Therefore we have to check the
event state before returning.
[1]: http://man7.org/linux/man-pages/man2/futex.2.html
2019-10-11 20:26:31 +03:00
Andrey Semashev
0ff2a08b40
Fixed incorrect old_state on first futex wait in auto_reset_event.
...
When futex_wait is first attempted, the old_state value did not account
for the waiter that was just added before entering the loop.
Also, some code cleanup and renaming.
2019-10-11 20:25:29 +03:00
Andrey Semashev
5e788fada7
Added Overview and Configuring sections in the docs.
2019-10-06 17:22:53 +03:00
Andrey Semashev
f8bc52a2c5
Removed unneeded empty line.
2019-10-06 17:21:46 +03:00
Andrey Semashev
6c2098d0de
Create libs/sync directory before copying the checkout into the Boost tree.
...
This is needed to run tests on Boost.Sync master since the superproject doesn't
have a supermodule for Boost.Sync in the master branch.
2019-01-15 21:47:41 +03:00
Andrey Semashev
9350bd93af
Enabled multiple git fetch jobs while executing depinst in CI. Increased the number of jobs to 8.
2019-01-15 13:58:29 +03:00
Andrey Semashev
7df0b2f16c
Removed linking with Boost.System.
...
Since Boost.System is now header-only, remove linking with the library.
2019-01-14 20:23:16 +03:00
Andrey Semashev
0631f0e507
Use inline namespaces even in C++03 mode with gcc >= 4.4.
...
Since gcc 7 deprecated strong using directives, we have to use a different
extension to implement inline namespaces in C++03. This silences gcc warnings.
2019-01-04 00:41:24 +03:00
Andrey Semashev
ffd2a86d5f
Ported tests to lightweight_test.hpp.
...
This will allow to work around compilation warnings and errors on
MinGW coming from Boost.Test.
2019-01-03 21:22:44 +03:00
Andrey Semashev
0adccdb976
Added workarounds for Cygwin, made cv and mutex ctors non-constexpr.
...
On Cygwin, pthread initializer macros are defined in a way incompatible
with C++ constexpr.
2019-01-03 15:55:04 +03:00
Andrey Semashev
898127aaa8
Fixed compilation errors and warnings on Windows.
2019-01-02 22:11:28 +03:00
Andrey Semashev
3c9d12442d
Use CPU count to run parallel build/test jobs in CI.
2019-01-02 21:19:53 +03:00
Andrey Semashev
af7ee722a1
Ported Windows components to Boost.Atomic and removed interlocked.hpp.
...
This removes the code that relies on Boost.Atomic implementation details
regarding interlocked intrinsics. Hopefully, this should solve compilation
problems with MinGW, MinGW-w64 and Cygwin.
2019-01-02 21:14:37 +03:00
Andrey Semashev
924c8fce7b
Re-added manual checkout of libs/config in CI as Boost.Build depends on it.
2018-12-20 20:47:14 +03:00
Andrey Semashev
7761234485
Revert "Added an experimental partial CMakeLists.txt for dependency tracking in CMake projects."
...
This reverts commit 906411b5b1 .
Apparently, just adding include paths to user's CMake projects is not enough
for the original requester.
https://github.com/boostorg/atomic/pull/20#issuecomment-448345886
2018-12-18 23:31:48 +03:00
Andrey Semashev
5269f6cf61
Use multiple jobs to checkout submodules in parallel in CI.
2018-12-18 22:36:10 +03:00
Andrey Semashev
cc09da841f
Added tools/boost_install and libs/headers manual checkout to CI jobs.
2018-12-18 22:09:23 +03:00
Andrey Semashev
906411b5b1
Added an experimental partial CMakeLists.txt for dependency tracking in CMake projects.
2018-12-18 19:39:45 +03:00
Andrey Semashev
afb02e3659
Grouped multiple jobs by cxxstd, added MinGW-w64 gcc 7 and 32-bit MinGW-w64 jobs.
2018-12-09 11:15:13 +03:00
Tim Blechmann
1f8977c235
Merge pull request #11 from boostorg/feature/fix-semaphores-posix-and-dispatch
...
semaphores: fix race condition in wait_until
2018-12-06 16:29:22 +08:00
Tim Blechmann
9e9b259799
semaphores: fix race condition in wait_until
...
wait_until used to return `false` in case the semaphore was posted, but
the timeout has already exceeded at the time of the call
2018-12-06 13:49:55 +08:00
Andrey Semashev
70aae3aa94
Merge pull request #10 from boostorg/feature/linux-compile-fix
...
events: auto_reset_event - linux compile fix
2018-11-27 14:22:47 +03:00
Tim Blechmann
4ae21b1fe3
events: auto_reset_event - linux compile fix
2018-11-27 14:18:12 +08:00
Andrey Semashev
3487e3f5ef
Attempt to re-enable Appveyor CI jobs on Cygwin.
2018-11-14 02:53:45 +03:00
Andrey Semashev
9042c43d5f
Added interlocked function asm implementations for MinGW/Cygwin.
2018-11-14 02:50:45 +03:00
Andrey Semashev
cc8992bbfb
Increased the number of build jobs in Appveyor CI config.
2018-11-14 01:09:33 +03:00
Andrey Semashev
6ff3d05f5b
Disabled thread_specific_ptr tests with custom deleters with UBSan.
...
The implementation uses the deleter type erasure as an optimization, which is
strictly speaking not standard C++, but works in practice. The fact that
it works is verified by the tests.
2018-11-14 01:05:31 +03:00
Andrey Semashev
57ff534c3f
Upgraded g++ multilib dependencies to avoid compile errors with gets and libstdc++ 4.8.
2018-11-14 00:32:17 +03:00
Andrey Semashev
db9134cee9
Added CI badges to readme.
2018-11-13 22:33:42 +03:00
Andrey Semashev
5efe501cf1
Added a readme.
2018-11-13 22:13:18 +03:00
Andrey Semashev
b344449fb9
Added CI configs.
2018-11-13 22:02:03 +03:00
Andrey Semashev
58988bffcc
Nonessential.
2018-11-13 22:01:39 +03:00
Andrey Semashev
3b0b56f28b
Corrected the changelog wording since Boost.Sync has not been released yet.
2018-11-13 17:15:14 +03:00
Andrey Semashev
d89a2f0936
Merge pull request #9 from boostorg/pr/use-boost-install
...
Use boost-install in build/Jamfile
2018-10-12 13:43:58 +03:00
Peter Dimov
c1cf431f6d
Use boost-install in build/Jamfile
2018-10-12 06:17:12 +03:00
Andrey Semashev
19fae64d21
Switch WINAPI calling convention macros to the replacements from Boost.WinAPI
...
WINAPI macro definition in Boost.WinAPI is deprecated as it may clash with the
macro defined in Windows SDK.
2018-03-11 20:58:46 +03:00
Andrey Semashev
c72891d9b9
Updated resource_error conversion constructor to avoid MSVC-10 errors as it uses this constructor instead of the copy constructor.
2017-12-17 21:02:24 +03:00
Andrey Semashev
1fd99d994c
Updated Boost.WinAPI usage to the new location and namespace.
...
Also updated some deprecated includes to the actual ones.
2017-10-25 00:35:38 +03:00
Andrey Semashev
93272b5ef6
Merge pull request #6 from danieljames/fix-doc-build
...
Try to fix doc build
2017-07-30 15:41:42 +03:00
Daniel James
977d9bdcbb
Try to fix doc build
...
The duplicate 'boostdoc' targets were confusing the documentation build.
As your index.html redirects to doc/html/index.html, this should set it
up to build there.
2017-07-29 23:28:46 +01:00
Andrey Semashev
e5d235bba8
Added spaces to avoid unintended digraph and make formatting more consistent.
2017-02-02 14:02:51 +03:00
Andrey Semashev
4bdaf7c922
Merge pull request #4 from andre-bergner/bugfix/missing_macro_check
...
Adding missing ifdef check in auto_reset_event to detect native semaphores
2017-01-26 23:56:46 +04:00