Commit Graph

261 Commits

Author SHA1 Message Date
Tim Blechmann
216e09744a doxygen cleanups 2024-05-03 14:45:42 +08:00
Tim Blechmann
a5cc8c0430 modernisation: use c++14 where possible 2024-05-03 14:45:42 +08:00
Tim Blechmann
e0a8797deb CI: remove c++11 compiler configurations 2024-05-03 14:43:10 +08:00
Tim Blechmann
e768411882 ci: fix use of ccache 2024-05-03 14:43:10 +08:00
Tim Blechmann
fdbccb9253 build system: fix cmake tests 2023-12-17 15:11:40 +08:00
Tim Blechmann
f2a934205e cmake: add boost_lockfree_test_common for better ide integration 2023-11-23 13:13:44 +08:00
Tim Blechmann
156ee77163 cmake: link atomic on linux (clang compile fix) 2023-11-23 13:11:17 +08:00
Tim Blechmann
e04bf59236 stack/queue - add missing allocator ctor 2023-11-03 21:33:09 +08:00
Tim Blechmann
bafa33be67 tests: cleanups 2023-11-03 14:59:50 +08:00
Tim Blechmann
8b25ed24db tests: use modern boost.test macros 2023-11-03 14:59:50 +08:00
Tim Blechmann
099f495bbc ci: try mingw builds 2023-11-03 14:59:50 +08:00
Tim Blechmann
e3b6eb8d1f tests: silence warnings 2023-11-03 14:59:50 +08:00
Tim Blechmann
3ccac29ae3 import pre-commit and clang-format 2023-11-03 14:59:50 +08:00
Tim Blechmann
dba9b10b2b build system: polish cmake build system 2023-11-03 14:59:50 +08:00
Tim Blechmann
c762d2e8c5 Merge pull request #87 from boostorg/feature/ci-improvements
ci: improve github actions / remove appveyor/travis
2023-11-02 19:34:22 +08:00
Tim Blechmann
845dfa39eb ci: improve github actions / remove appveyor/travis
* run on matrix.os
* disable old clang compilers
* enable more windows builds
* use ccache
2023-11-02 12:57:58 +08:00
Tim Blechmann
c26b78951e Merge pull request #65 from sdarwin/githubactions
GitHub Actions config
2023-11-01 15:51:44 +08:00
Tim Blechmann
417fcdb6e7 Merge pull request #85 from slowriot/patch-1
Minor comment grammar fix
2023-05-16 06:55:58 +08:00
slowriot
3fcf3317d8 Comment grammar: pop data from 2023-05-15 12:41:59 +01:00
Tim Blechmann
e854ba25ae Merge pull request #83 from shards-lang/fix-cxx20-ambiguous
Fix C++20 ambiguous comparison warning
2023-02-24 14:22:20 +08:00
Guus Waals
b96d7ab0e3 Fix C++20 ambiguous comparison warning
Swapping lhs/rhs should be the same, so marking the function as volatile fixes this
2023-02-24 14:12:40 +08:00
Tim Blechmann
f13b1502ba Merge pull request #81 from EikeAtOT/feature/warn_about_return_argument_modification_on_fail
queue: add warning about modified return argument if pop fails
2022-08-07 18:46:28 +08:00
Tim Blechmann
aceb6e7760 queue: refine doc string 2022-08-07 18:45:48 +08:00
Eike Verdenhalven
f72cf223a6 doc/queue: add warning about modified return argument if pop operation fails 2022-08-05 09:23:53 +02:00
sdarwin
48a4576b39 Update GitHub Actions CI file 2022-03-07 16:34:06 +00:00
Tim Blechmann
fdd4d0632d Merge pull request #74 from msuvajac/default-init-fix
stack, spsc_queue: don't create temporaries when deleting elements
boost-1.84.0.beta1 boost-1.80.0.beta1 boost-1.86.0 boost-1.85.0.beta1 boost-1.85.0 boost-1.78.0 boost-1.84.0 boost-1.83.0.beta1 boost-1.83.0 boost-1.82.0.beta1 boost-1.82.0 boost-1.81.0.beta1 boost-1.81.0 boost-1.86.0.beta1 boost-1.80.0 boost-1.79.0.beta1 boost-1.79.0 boost-1.78.0.beta1
2021-09-17 16:23:35 +08:00
msuvajac
af906f5745 stack, spsc_queue: don't create temporaries when deleting elements
When destructors/reset() are called temporary object was being created.
That creates issues when element doesn't have default initialization
(e.g. Boost.Interprocess containers).
2021-09-17 10:14:38 +02:00
Tim Blechmann
be391d487d Merge pull request #73 from 5741978/develop
since Android api level 30 enable memory tagging
2021-09-10 23:39:57 +08:00
5741978
c6827aaf3d Merge pull request #1 from 5741978/5741978-support_android_api_level_30
since Android api level 30 enable memory tagging
2021-09-10 18:33:56 +03:00
5741978
c3a25929fb since Android api level 30 enable memory tagging 2021-09-10 18:31:10 +03:00
Peter Dimov
66f66c9770 Add CMakeLists.txt boost-1.77.0 boost-1.77.0.beta1 2021-05-28 00:37:22 +03:00
Peter Dimov
cb6272026a Merge branch 'master' into develop 2021-05-28 00:36:58 +03:00
Tim Blechmann
2b962795ac Merge remote-tracking branch 'origin/develop' 2021-05-01 12:53:54 +08:00
Tim Blechmann
2ed9300ad5 tests: c++03 compatibility 2021-04-18 12:10:53 +08:00
Tim Blechmann
9144954d24 lockfree: silence ubsan errors 2021-04-18 11:53:10 +08:00
Tim Blechmann
f568ba9319 spsc_queue: fix destruction of elements
the compile-time sized implementation did not properly destroy the
elements.

fixes #66
2021-03-25 15:04:35 +08:00
Tim Blechmann
656b688e89 freelist: silence gcc warnings
at the time when we memset the node storage, the objects are not
constructed, so gcc warnings are a little paranoid
2021-03-25 15:04:35 +08:00
sdarwin
d956ca13d0 Add GitHub Actions config [ci skip] 2021-03-05 15:59:53 +00:00
Tim Blechmann
c4ece99fbe Merge pull request #63 from eldiener/develop
[skip ci] Add "cxxstd" json field
2021-01-21 09:45:18 +08:00
Edward Diener
5647a11c72 [skip ci] Add "cxxstd" json field. The "cxxstd" json field is being added to each Boost library's meta json information for libraries in order to specify the minumum C++ standard compilation level. The value of this field matches one of the values for 'cxxstd' in Boost.Build. The purpose of doing this is to provide information for the Boost website documentation for each library which will specify the minimum C++ standard compilation that an end-user must employ in order to use the particular library. This will aid end-users who want to know if they can successfully use a Boost library based on their C++ compiler's compilation level, without having to search the library's documentation to find this out. 2021-01-20 13:22:37 -05:00
Tim Blechmann
5801ec6824 Merge pull request #62 from boostorg/feature/improve-armv8-detection
prefix: detect armv8 via boost.predef
2020-06-24 11:02:15 +08:00
Tim Blechmann
dcd878cd67 Merge remote-tracking branch 'origin/develop' boost-1.74.0.beta1 boost-1.74.0 boost-1.75.0 boost-1.75.0.beta1 boost-1.76.0 boost-1.76.0.beta1 2020-06-23 22:40:40 +08:00
Tim Blechmann
df78b9da42 queue: avoid aba problem
we cannot clear the `next` handle, but we can avoid valgrind errors by
simply setting memsetting the underlying storage to zero
2020-06-23 22:38:49 +08:00
Tim Blechmann
e1e7e8d6af prefix: detect armv8 via boost.predef 2020-06-23 11:10:05 +08:00
Tim Blechmann
771e8c1016 Merge pull request #60 from glenfe/develop
Use allocator_rebind from Core
2020-06-16 10:39:34 +08:00
Glen Fernandes
3ed1a0cc3a Use allocator_rebind from Core 2020-06-12 10:57:36 -04:00
Tim Blechmann
a4b2eda0eb stack: fix unsynchronized_push
fixes #57
2020-06-03 23:29:32 +08:00
Tim Blechmann
859039840b Merge pull request #55 from austin-beer/fix-issue-35
Fix https://github.com/boostorg/lockfree/issues/35
2019-12-06 22:40:48 +08:00
Austin Beer
41570c256e Fix CI failures with clang on Linux
LLVM generates atomic library calls that must be satisfied
https://llvm.org/docs/Atomics.html#libcalls-atomic
2019-12-05 17:35:26 -07:00
Austin Beer
195a652f23 Explain why not using BOOST_STATIC_ASSERT() 2019-12-03 10:14:56 -07:00