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
c132c339c7
Remove uses of BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
2024-09-24 18:41:46 +03:00
Peter Dimov
4a3432759d
Remove uses of BOOST_NO_CV_VOID_SPECIALIZATIONS
2024-09-24 18:37:59 +03:00
Peter Dimov
3832411d31
Remove uses of BOOST_NO_MEMBER_TEMPLATES, BOOST_MSVC6_MEMBER_TEMPLATES
2024-09-24 18:35:32 +03:00
Peter Dimov
66e6f9b2ef
Remove uses of BOOST_NO_MEMBER_TEMPLATE_FRIENDS
2024-09-24 18:33:22 +03:00
Peter Dimov
d2c2407585
Remove uses of BOOST_NO_IOSTREAM et al
2024-09-24 18:30:06 +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
4af91d46f1
Fix -Wundef warning by removing outdated workarounds
2024-01-06 15:48:05 +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
Egor Pugin
a0d4ec3915
Add missing ifdef check.
2022-10-10 22:26:59 +03: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
Peter Dimov
f2ab3b21f0
Merge pull request #90 from fanquake/use_core_checked_delete
...
refactor: use boost/core/checked_delete.hpp over boost/checked_delete.hpp
2022-05-20 03:45:08 +03:00
Peter Dimov
95eaa2d7c3
Update shared_ptr move constructors to improve codegen
2022-05-19 22:20:50 +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
Glen Fernandes
6716193d9c
Add get_allocator_pointer
2021-12-16 11:26:11 -05:00
Peter Dimov
fec5fb97c8
Enable move-only deleters in the nullptr_t constructors
2021-05-11 02:15:27 +03: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