Commit Graph

  • 42575a0e51 Add "cxxstd" json field Edward Diener 2021-01-21 12:04:23 -05:00
  • 64b2eac868 Add .github/workflows Peter Dimov 2021-01-20 00:41:39 +02:00
  • 856ed108e8 Update maintainer e-mail Peter Dimov 2020-12-12 01:05:17 +02:00
  • 678a544d27 Add cxxstd=latest to msvc-14.2 Peter Dimov 2020-11-14 21:42:09 +02:00
  • f1b06df6f4 Use address-model=32 for msvc-9.0,10.0,11.0 Peter Dimov 2020-11-14 21:37:15 +02:00
  • 620620df3d Merge branch 'develop' boost-1.75.0.beta1 boost-1.75.0 boost-1.74.0.beta1 boost-1.74.0 1753872800327864689/tmp_refs/tags/boost-1.74.0 Peter Dimov 2020-06-19 19:17:05 +03:00
  • 0bd61c1089 Remove boost_install call from CMakeLists.txt Peter Dimov 2020-06-11 17:19:17 +03:00
  • d1295a9974 Remove boost_install call from CMakeLists.txt feature/update-cmake Peter Dimov 2020-06-11 17:19:17 +03:00
  • 6e8c15c02f Fix typo, trailing whitespace feature/gcc-intrinsics Peter Dimov 2020-06-10 21:59:48 +03:00
  • 7c0dcd338a Refactor yield_k.hpp Peter Dimov 2020-06-10 18:58:08 +03:00
  • 8d79ceaf8a Revert using a relaxed load before test_and_set; not necessary, and slower, with a proper yielding strategy as opposed to just pause-spinning Peter Dimov 2020-06-10 18:20:33 +03:00
  • d35cf29b99 Revert "Use a relaxed load before XCHG to not lock cache line on contention (AMD spinlock recommendation per <https://probablydance.com/2019/12/30/measuring-mutexes-spinlocks-and-how-bad-the-linux-scheduler-really-is/>)" Peter Dimov 2020-06-10 18:18:35 +03:00
  • 72ca834ae8 Change yield_k to not use sp_thread_yield; using sp_thread_sleep is always strictly superior, at least on Windows Peter Dimov 2020-06-07 21:24:21 +03:00
  • 8afe162910 Use a relaxed load before XCHG to not lock cache line on contention (AMD spinlock recommendation per <https://probablydance.com/2019/12/30/measuring-mutexes-spinlocks-and-how-bad-the-linux-scheduler-really-is/>) Peter Dimov 2020-06-07 21:07:35 +03:00
  • 5d31c1c443 Refactor yield_k.hpp Peter Dimov 2020-06-07 20:40:41 +03:00
  • 3db4ad9a15 Use a relaxed load before test_and_set to not lock cache line on contention (AMD spinlock recommendation per <https://probablydance.com/2019/12/30/measuring-mutexes-spinlocks-and-how-bad-the-linux-scheduler-really-is/>) Peter Dimov 2020-06-07 17:59:55 +03:00
  • d0655ab145 Add atomic_count_gcc_atomic.hpp Peter Dimov 2020-06-07 06:29:14 +03:00
  • 7c01e640f7 Use int_least32_t in atomic_count_sync; prefer it to atomic_count_gcc_x86; mark latter obsolete Peter Dimov 2020-06-07 06:05:17 +03:00
  • 00db1e02c6 Add spinlock_gcc_atomic.hpp Peter Dimov 2020-06-07 05:00:03 +03:00
  • 914b93430a Change spinlock_sync.hpp to use a single byte Peter Dimov 2020-06-07 04:10:49 +03:00
  • 15ffd7852b Remove Clang C11 implementation; no longer used Peter Dimov 2020-06-07 02:05:55 +03:00
  • c66c4f5ed1 Mark platform-specific implementations as obsolete Peter Dimov 2020-06-07 02:04:42 +03:00
  • 7e9d8c39a3 Add sp_has_gcc_intrinsics.hpp, sp_counted_base_gcc_atomic.hpp Peter Dimov 2020-06-06 20:43:08 +03:00
  • a0d08b17e0 Fix include guards Peter Dimov 2020-06-06 17:13:56 +03:00
  • 108a86cdbd Rename sp_has_sync.hpp to sp_has_sync_intrinsics.hpp Peter Dimov 2020-06-06 17:11:28 +03:00
  • d08bdc86e5 Remove unused files Peter Dimov 2020-06-06 16:59:36 +03:00
  • f8dcf5f6f4 Use BOOST_SMT_PAUSE starting from the first iteration Peter Dimov 2020-06-06 16:54:57 +03:00
  • d38f64ded9 Update documentation feature/owner-hash Peter Dimov 2020-06-06 00:35:12 +03:00
  • b66fe51566 Avoid g++ 4.4 conflict between hash() and boost::hash Peter Dimov 2020-06-06 00:15:58 +03:00
  • 1b5568d585 Add sp_unordered_test Peter Dimov 2020-06-05 18:54:44 +03:00
  • fad0c20263 Add owner_hash Peter Dimov 2020-06-05 18:45:00 +03:00
  • 1c61e54b13 Update documentation feature/weak-ptr-hash Peter Dimov 2020-06-05 18:12:59 +03:00
  • a0fc1e6daa Add wp_unordered_test Peter Dimov 2020-06-04 20:52:17 +03:00
  • 5dd84ea389 Add .owner_hash_value to shared/weak_ptr, hash_value, std::hash/equal_to specializations for weak_ptr Peter Dimov 2020-06-04 20:40:57 +03:00
  • bc677e9098 Do not require boost::hash in the std::hash specializations feature/std-hash Peter Dimov 2020-06-03 17:38:03 +03:00
  • 688cfed63e Add Boost::bind to CMake test dependencies feature/mt-tests Peter Dimov 2020-06-03 07:38:07 +03:00
  • c63dc266b9 Update submodule libs/bind on Travis/Appveyor Peter Dimov 2020-06-02 21:51:00 +03:00
  • 6c181a0707 When BOOST_SP_REPORT_IMPLEMENTATION is defined, report what platform-specific atomic implementation is used Peter Dimov 2020-06-02 20:51:38 +03:00
  • 4047290b85 Add multithreaded tests Peter Dimov 2020-06-02 18:58:45 +03:00
  • dc6c76d7e9 Move lightweight_thread.hpp to smart_ptr/detail Peter Dimov 2020-06-02 17:55:15 +03:00
  • 5a18ffdc56 Add std::hash specializations for shared_ptr, local_shared_ptr, intrusive_ptr Peter Dimov 2020-06-02 05:59:23 +03:00
  • 09fdd5ebfd Add FreeBSD to Travis Peter Dimov 2020-06-01 18:18:57 +03:00
  • 911874e139 Add gcc-10 to Travis Peter Dimov 2020-06-01 18:18:12 +03:00
  • c7c0eacb74 Add initializers to eq and lt feature/owner-equal-to Peter Dimov 2020-06-01 15:08:53 +03:00
  • 9ed9f43ca8 Document owner_less, owner_equal_to Peter Dimov 2020-06-01 03:53:21 +03:00
  • 0ddf990869 Add noexcept to owner_less, owner_equal_to Peter Dimov 2020-06-01 03:44:41 +03:00
  • a08a5f3d41 Update introduction Peter Dimov 2020-06-01 03:26:02 +03:00
  • 77c2d4cad7 Add owner_less_test2 Peter Dimov 2020-06-01 03:13:42 +03:00
  • fd612dc114 Add owner_equal_to Peter Dimov 2020-06-01 03:05:34 +03:00
  • e67ebef9a7 Update changelog feature/owner-equals Peter Dimov 2020-06-01 02:01:10 +03:00
  • 6f5b9c7b37 Document local_shared_ptr::owner_equals Peter Dimov 2020-06-01 01:59:40 +03:00
  • 91f3aa0386 Add local_shared_ptr::owner_equals Peter Dimov 2020-06-01 01:35:25 +03:00
  • 686a354f21 Add lsp_owner_before_test Peter Dimov 2020-06-01 01:16:46 +03:00
  • efceb04665 Asciidoctor 2 fixes Peter Dimov 2020-06-01 01:02:09 +03:00
  • ca57860ae2 Update footer Peter Dimov 2020-06-01 00:41:25 +03:00
  • 9dcd05f918 Document owner_equals Peter Dimov 2020-06-01 00:40:02 +03:00
  • 4b724ab3f8 Add mixed shared_count/weak_count operator== overloads to avoid refcount manipulation Peter Dimov 2020-05-31 22:07:36 +03:00
  • 58915ca2fe Add owner_equals Peter Dimov 2020-05-31 21:41:06 +03:00
  • 62b0e5cdf4 Add mixed shared_count/weak_count operator< overloads to avoid refcount manipulation Peter Dimov 2020-05-31 21:12:12 +03:00
  • 951ff783b5 Add sp_owner_before_test Peter Dimov 2020-05-31 20:33:24 +03:00
  • 6421394e70 Fix msvc-8.0 failures Peter Dimov 2020-05-31 20:14:25 +03:00
  • 121312cc22 Use allocator access utilities Glen Fernandes 2020-05-21 22:28:42 -04:00
  • 1e5df9d551 Merge pull request #79 from EugeneZelenko/use-boost-override Peter Dimov 2020-05-19 01:58:20 +03:00
  • 496127ab99 Merge pull request #77 from eldiener/develop Peter Dimov 2020-05-19 01:57:37 +03:00
  • 2af343a2cb Fix Clang-tidy modernize-use-override warnings. Eugene Zelenko 2020-05-12 18:01:55 -07:00
  • c6b3700ef1 Merge branch 'develop' of https://github.com/boostorg/smart_ptr into cppbuilder Edward Diener 2020-05-06 11:32:12 -04:00
  • 2a93d30e73 Change conditions to be the same. Edward Diener 2020-05-06 11:31:57 -04:00
  • 02cc561248 Only use warnings-as-errors on msvc, gcc, clang feature/pedantic Peter Dimov 2020-04-28 05:05:57 +03:00
  • 066b398114 Disable -Wc11-extensions in sp_counted_base_clang.hpp Peter Dimov 2020-04-27 00:50:15 +03:00
  • 9c43c69c14 Add sp_pedantic_test Peter Dimov 2020-04-26 19:57:05 +03:00
  • eb8998cd91 Add Clang 10 to Travis Peter Dimov 2020-04-26 18:27:35 +03:00
  • df06c324a7 Merge branch 'develop' of https://github.com/boostorg/smart_ptr into cppbuilder Edward Diener 2020-04-19 02:49:06 -04:00
  • 0ddfab493c Do not enable -Wsuggest-override in C++03 mode feature/suggest-override Peter Dimov 2020-04-14 07:12:35 +03:00
  • a2732e207a Add BOOST_OVERRIDE to sp_counted_impl.hpp Peter Dimov 2020-04-14 00:55:52 +03:00
  • 5be7523ebe Merge branch 'develop' into feature/suggest-override Peter Dimov 2020-04-14 00:45:24 +03:00
  • 2320dafc03 Add BOOST_OVERRIDE to bad_weak_ptr.hpp and local_counted_base.hpp Peter Dimov 2020-04-14 00:42:57 +03:00
  • 7ab4093f46 Use shared_ptr and make_shared in sp_override_test Peter Dimov 2020-04-14 00:21:02 +03:00
  • 296c203135 Rename sp_warning_test to sp_override_test Peter Dimov 2020-04-14 00:15:32 +03:00
  • 2dd35e5fbc Mark functions with BOOST_OVERRIDE Glen Fernandes 2020-04-13 15:34:13 -04:00
  • 977544feda Add sp_warning_test Peter Dimov 2020-04-08 21:25:36 +03:00
  • 54b5498208 Manually convince clang-cl to fail shared_from_fail and weak_from_fail boost-1.73.0.beta1 boost-1.73.0 feature/enable-shared-from Peter Dimov 2020-04-02 04:01:21 +03:00
  • da81452f1f Make shared_from_this and weak_from_this private in enable_shared_from. Fixes #75. Peter Dimov 2020-04-02 02:16:59 +03:00
  • 7b9a969215 Add deduction guides to shared_ptr and weak_ptr. Fixes #73. feature/deduction-guides Peter Dimov 2020-04-02 00:28:02 +03:00
  • cd562eb053 Change __BORLANDC__ to BOOST_BORLANDC, which is defined in Boost config for the Embarcadero non-clang-based compilers. Edward Diener 2020-03-26 17:17:22 -04:00
  • 91cd83e5bf Correct make_unique_noinit example Glen Fernandes 2020-02-13 21:36:58 -05:00
  • 2fdb8c4b0a Fix Travis issues; remove unnecessary jobs Peter Dimov 2020-01-14 19:16:05 +02:00
  • e806b53433 Update Travis Peter Dimov 2020-01-14 17:04:51 +02:00
  • e0c7bd9a7e Don't build tests when installing; link to Threads::Threads in tests because of lw_thread_test.cpp Peter Dimov 2020-01-10 00:54:01 +02:00
  • 766ab05a12 Update submodule libs/preprocessor on Travis (needed by CMake tests) Peter Dimov 2020-01-09 15:53:38 +02:00
  • 05cbefd28e Update submodule tools/cmake on Travis Peter Dimov 2020-01-09 01:41:15 +02:00
  • bfbdf4f45f Add CMake install support, tests Peter Dimov 2020-01-08 05:08:37 +02:00
  • 169c0cd52a Remove lwm_nop.hpp; add lwm_std_mutex.hpp feature/remove-lwm-nop Peter Dimov 2020-01-08 03:57:13 +02:00
  • 7d70691a16 Remove Windows Runtime workaround from yield_k.hpp; it's no longer relevant, Sleep is available feature/no-predef Peter Dimov 2020-01-08 03:09:11 +02:00
  • 90c27d7cfa Remove Windows Runtime workaround from lwm_win32_cs.hpp; it's no longer relevant, InitializeCriticalSection is available Peter Dimov 2020-01-08 02:55:14 +02:00
  • 43d1fe12c5 Include lightweight_test from core and workaround from config Glen Fernandes 2020-01-01 08:29:47 -05:00
  • a2749dddb4 Disable 32 bit clang-win to avoid mspdbcore.dll errors Peter Dimov 2019-12-05 15:49:48 +02:00
  • a71e62146c Add VS2019 to Appveyor; separate clang-win into its own job Peter Dimov 2019-11-24 00:05:38 +02:00
  • 274ec17836 Even more documentation corrections boost-1.72.0.beta1 boost-1.72.0 Glen Fernandes 2019-09-15 02:06:23 -04:00
  • a7341070f1 More documentation corrections Glen Fernandes 2019-09-03 11:52:34 -04:00
  • a6323354cd Update constraints and synopsis in documentation Glen Fernandes 2019-09-02 21:58:29 -04:00