Peter Dimov
b0200dd829
Issue deprecation messages when a macro slated for removal is defined
2024-10-01 17:56:33 +03:00
Peter Dimov
000c7ae5ac
Remove detail/operator_bool.hpp
2024-09-25 12:49:13 +03:00
Peter Dimov
f11b931cfd
Remove uses of BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS
2024-09-25 12:47:28 +03:00
Peter Dimov
dccecc2500
Remove uses of BOOST_NO_CXX11_ALLOCATOR
2024-09-25 03:13:22 +03:00
Peter Dimov
38b737c490
Remove uses of detail::sp_forward
2024-09-25 02:51:40 +03:00
Peter Dimov
314267a5f7
Remove uses of BOOST_NO_CXX11_SMART_PTR
2024-09-25 02:45:57 +03:00
Peter Dimov
ce308f21e8
Remove uses of BOOST_NO_CXX11_RVALUE_REFERENCES
2024-09-24 22:51:38 +03:00
Peter Dimov
0e6dd82e8e
Remove boost::detail::sp_nullptr_t
2024-09-24 19:11:15 +03:00
Peter Dimov
569b07b91c
Remove uses of BOOST_NO_CXX11_NULLPTR
2024-09-24 19:05:48 +03:00
Peter Dimov
bd0419c290
Remove uses of BOOST_SP_NO_SP_CONVERTIBLE
2024-09-24 18:49:22 +03:00
Peter Dimov
26cf7ff744
Remove uses of BOOST_NO_FUNCTION_TEMPLATE_ORDERING
2024-09-24 18:44:53 +03:00
Peter Dimov
694e6822ac
Remove obsolete uses of BOOST_MSVC
2024-09-24 18:25:13 +03:00
Peter Dimov
fd94706918
Remove __CODEGUARD__ workarounds
2024-09-24 18:10:16 +03:00
Peter Dimov
c5e1280b77
Remove __BORLANDC__ workarounds
2024-09-24 18:09:33 +03:00
Peter Dimov
d66b173710
Remove BOOST_BORLANDC workarounds
2024-09-24 18:08:14 +03:00
Peter Dimov
d908c4d288
Remove requires_cxx11.hpp
2024-09-24 17:47:51 +03:00
Peter Dimov
635dfe46ee
Update C++03 deprecation message
2024-07-08 21:02:19 +03:00
Peter Dimov
c4ae5e0c42
Do not disable GCC intrinsics under clang-cl
2024-04-13 20:29:34 +03:00
Daniel Arndt
85b0ab073c
Don't define BOOST_SP_HAS_GCC_INTRINSICS for MSVC
2024-04-12 08:10:31 -05:00
Peter Dimov
f8303629f1
Update requires_cxx11.hpp
2024-02-29 15:57:41 +02:00
Peter Dimov
ac0381f0b8
Update C++03 deprecation message
2023-10-18 14:12:02 +03:00
Peter Dimov
13be03abf8
Avoid -Wsign-conversion warning
2023-06-25 13:47:24 +03:00
Peter Dimov
ef1651449f
Update C++03 deprecation message
2023-06-03 02:20:39 +03:00
Peter Dimov
b34786c4d4
Interleave calls to sp_thread_pause and sp_thread_sleep in yield_k, instead of doing a single pause at 0
2023-06-03 02:16:52 +03:00
Peter Dimov
aacfb25c82
Add BOOST_HEADER_DEPRECATED to boost/smart_ptr/detail/sp_thread_*.hpp
2023-06-03 02:14:43 +03:00
Peter Dimov
414b0a65d9
Use yield primitives from Core
2023-06-02 22:08:15 +03:00
Peter Dimov
78fd14f412
Add C++03 deprecation notice
2023-03-06 03:54:51 +02:00
Peter Dimov
97c9204a95
Align spinlock::v_ as a bool because of Apple PPC32. Refs #105 .
2022-11-10 17:08:55 +02:00
Jordan Williams
59b5b17e81
Add support for different sync instructions for CodeWarrior PPC ( #95 )
...
* Use msync or se_isync as appropriate for CodeWarrior PPC
* Un-obsolete sp_counted_base_cw_ppc
* Remove untested VLE_ON branch
* Use the supported compiler intrinsic __sync(); instead of msync asm
* Revert "Use the supported compiler intrinsic __sync(); instead of msync asm"
This reverts commit 9b92ea28f0 .
2022-06-22 18:41:00 +03:00
fanquake
f4d7116241
refactor: use core/checked_delete.hpp over checked_delete.hpp
...
boost/checked_delete.hpp has been deprecated.
2022-04-03 16:49:10 +01:00
Peter Dimov
b52d7548b3
Enable move-only deleters in the allocator constructor
2021-05-11 02:05:28 +03:00
Peter Dimov
594c7485a5
Enable move-only deleters
2021-05-11 01:59:01 +03:00
Peter Dimov
d41546ddce
Move the unique_ptr deleter instead of copying it
2021-05-11 01:20:02 +03:00
Peter Dimov
6e8c15c02f
Fix typo, trailing whitespace
2020-06-10 21:59:48 +03:00
Peter Dimov
7c0dcd338a
Refactor yield_k.hpp
2020-06-10 18:58:08 +03:00
Peter Dimov
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
2020-06-10 18:20:33 +03:00
Peter Dimov
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/ >)"
...
This reverts commit 8afe162910 .
2020-06-10 18:18:35 +03:00
Peter Dimov
72ca834ae8
Change yield_k to not use sp_thread_yield; using sp_thread_sleep is always strictly superior, at least on Windows
2020-06-07 21:24:21 +03:00
Peter Dimov
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/ >)
2020-06-07 21:07:35 +03:00
Peter Dimov
5d31c1c443
Refactor yield_k.hpp
2020-06-07 20:40:41 +03:00
Peter Dimov
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/ >)
2020-06-07 17:59:55 +03:00
Peter Dimov
d0655ab145
Add atomic_count_gcc_atomic.hpp
2020-06-07 06:29:14 +03:00
Peter Dimov
7c01e640f7
Use int_least32_t in atomic_count_sync; prefer it to atomic_count_gcc_x86; mark latter obsolete
2020-06-07 06:05:17 +03:00
Peter Dimov
00db1e02c6
Add spinlock_gcc_atomic.hpp
2020-06-07 05:00:03 +03:00
Peter Dimov
914b93430a
Change spinlock_sync.hpp to use a single byte
2020-06-07 04:10:49 +03:00
Peter Dimov
15ffd7852b
Remove Clang C11 implementation; no longer used
2020-06-07 02:05:55 +03:00
Peter Dimov
c66c4f5ed1
Mark platform-specific implementations as obsolete
2020-06-07 02:04:42 +03:00
Peter Dimov
7e9d8c39a3
Add sp_has_gcc_intrinsics.hpp, sp_counted_base_gcc_atomic.hpp
2020-06-06 20:43:08 +03:00
Peter Dimov
a0d08b17e0
Fix include guards
2020-06-06 17:13:56 +03:00
Peter Dimov
108a86cdbd
Rename sp_has_sync.hpp to sp_has_sync_intrinsics.hpp
2020-06-06 17:11:28 +03:00