Commit Graph

1165 Commits

Author SHA1 Message Date
Ion Gaztañaga
84fa956568 Add overaligned vector test 2026-01-19 00:39:13 +01:00
Ion Gaztañaga
6512eaea71 Allow adaptive pool based classes to support overaligned types. This change requires adding the node alignment data thorough the class inheritance and complicating a bit the logic for the adaptive pool. Overalignment value is packed inside free bits of existing bits in order to avoid breaking ABI. 2026-01-18 16:16:57 +01:00
Ion Gaztañaga
4b44909c8c Increase shared memory size for pool tests to support overaligned types 2026-01-18 16:11:29 +01:00
Ion Gaztañaga
908711f200 Fix syntax error 2026-01-13 23:47:30 +01:00
Ion Gaztañaga
d2ecb8937c Use allocate_aligned in cached implementation and the allocator_v1 testing utility to support overaligned types. 2026-01-13 23:39:37 +01:00
Ion Gaztañaga
c9aa051025 Add overalignment support for node_allocator, private_node_allocator and cached_node_allocator 2026-01-13 23:30:43 +01:00
Ion Gaztañaga
fb5ba06d6c Increase shared_memory size as tests with overaligned ints require much more space 2026-01-13 01:27:35 +01:00
Ion Gaztañaga
e760874846 Divide too big to maintain (flat_)tree into (flat_)map and (flat_)set tests. 2026-01-11 01:45:18 +01:00
Ion Gaztañaga
8c7e4a4fba Deprecate old construct/destroy functions 2026-01-11 01:14:46 +01:00
Ion Gaztañaga
59d8aa6328 Avoid using deprecated functions internally 2026-01-10 23:33:12 +01:00
Ion Gaztañaga
b401b56c33 Add shared_node_pool to pool testing. 2026-01-10 22:58:53 +01:00
Ion Gaztañaga
9d5a312a8b Deprecate "address", "size" and "(de)allocate_many" functions from allocators. 2026-01-10 22:58:33 +01:00
Ion Gaztañaga
9f1c4b21b3 Add alignment checks now that allocate_aligned is used in several functions 2026-01-10 19:32:50 +01:00
Ion Gaztañaga
aab8703240 Modify experimental "allocate_many" function to take an alignment parameter. 2026-01-10 18:58:01 +01:00
Ion Gaztañaga
5069b61f65 Use aligned allocation for allocator::allocate to support overaligned types. 2026-01-10 18:43:38 +01:00
Ion Gaztañaga
89e70d1608 Delete commented test code 2026-01-08 22:09:15 +01:00
Ion Gaztañaga
4b6f3bd539 Add overalignment support for segment_manager allocation_command functions. 2026-01-08 21:43:53 +01:00
Ion Gaztañaga
76e3feac9d Rename Allocator to segment manager 2026-01-07 15:22:20 +01:00
Ion Gaztañaga
03169113da Fixes #277: ("-Wundef warning in boost/interprocess/detail/workaround.hpp ") 2026-01-05 02:09:58 +01:00
Ion Gaztañaga
69e2c44e2a Rollback BOOST_HEADER_DEPRECATED on version.hpp and allocation_type.hpp, it's causing unwanted warnings. 2026-01-05 02:07:16 +01:00
Ion Gaztañaga
6ca985f6c8 Add BOOST_HEADER_DEPRECATED to <boost/interprocess/containers/*.hpp> headers. They were deprecated several releases ago. 2026-01-05 01:28:49 +01:00
Ion Gaztañaga
1a8382b12f Document the deprecated BOOST_INTERPROCESS_USE_PTHREAD_AS_SYSTEMWIDE_THREAD_ID option 2026-01-05 01:12:34 +01:00
Ion Gaztañaga
9e1076ccd0 Removed the option to #undef BOOST_INTERPROCESS_MSG_QUEUE_CIRCULAR_INDEX 2026-01-05 01:08:25 +01:00
Ion Gaztañaga
ea6eac2aa5 Add more documentation and examples uses_allocator usage. 2026-01-04 22:15:27 +01:00
Ion Gaztañaga
12108f75f9 Correct documentation build error due to bad formatting in 1.91 release notes.
Add
2026-01-04 22:14:12 +01:00
Ion Gaztañaga
a8fb4feeb7 Improve explicit constructor to allow static_cast according to allocator::pointer requirements:
- Allow only conversion from void
- Since conversion from void is address-preserving, use the optimized offset calculation
2026-01-04 21:22:36 +01:00
Ion Gaztañaga
8cc538b20f Add #276 to release notes 2026-01-04 20:41:56 +01:00
Ion Gaztañaga
d21e28f0d5 Fixes #276 ("-Wundef warning in boost/interprocess/allocators/allocator.hpp") 2026-01-04 20:23:12 +01:00
Ion Gaztañaga
a16cac255b Add additional test to static_cast to make sure address is preserved 2026-01-04 20:22:44 +01:00
Ion Gaztañaga
e7bc830886 #252 (['"[regression] no viable constructor for offset_ptr with clang from 1.87.0"])]. 2026-01-04 15:43:56 +01:00
Ion Gaztañaga
ab5e6c665d Document systemwide thread id change and the backwards compatibility macro BOOST_INTERPROCESS_USE_PTHREAD_AS_SYSTEMWIDE_THREAD_ID 2026-01-03 23:59:03 +01:00
Ion Gaztañaga
bfce9f1e0b Add new operating systems for global thread id implementation 2026-01-03 23:58:53 +01:00
Ion Gaztañaga
d93289e050 Make sure assert's are executed also in release mode when examples are tested in release mode. 2026-01-03 22:55:57 +01:00
Ion Gaztañaga
d62ead405d Implement get_current_systemwide_thread_id for Cygwin based on Winapi. 2026-01-03 19:37:59 +01:00
Ion Gaztañaga
0df6182ab3 - Add OS-native functions to obatin sistemwide thread IDs
- Rework OS_systemwide_thread_id_t to be portable between different native implementation and old emulation code
2026-01-02 23:47:47 +01:00
Ion Gaztañaga
f656e80907 More traces 2026-01-02 20:41:41 +01:00
Ion Gaztañaga
ce6abf7750 Even more traces, identifying parent, child and grandchild 2026-01-02 18:57:39 +01:00
Ion Gaztañaga
adc811629b Add more traces to debug 2026-01-02 16:57:08 +01:00
Ion Gaztañaga
3bf3f5a0e5 Add more traces to test failures to have more information on CI 2026-01-02 13:34:57 +01:00
Ion Gaztañaga
37e334e80c Rework documentation for systems that do not fully support process-shared features 2026-01-02 11:58:03 +01:00
Ion Gaztañaga
e006a65aac FreeBSD support for _POSIX_THREAD_PROCESS_SHARED is incomplete and buggy, avoid it. 2026-01-02 09:53:37 +01:00
Ion Gaztañaga
7764b3a747 Set kern.ipc.umtx_vnode_persistent=1 as required by Interprocess documentation 2026-01-02 09:21:45 +01:00
Ion Gaztañaga
a9bb42ac36 Posix/cygwin/bsd: make cxxstd optional
Add docs built test, thanks to sdarwin
2025-12-31 21:02:58 +01:00
Ion Gaztañaga
15ed069ad2 Remove commented code. 2025-12-29 11:07:04 +01:00
Ion Gaztañaga
9fcfda9c82 Reimplement managed_heap_memory to use overaligned capable operator new instead of a vector of chars, since the alignment required by a segment manager alignment might be bigger than the default one provided by mallo.c 2025-12-29 11:05:42 +01:00
Ion Gaztañaga
70364b4067 Use public Boost.Container API for uses-allocator construction instead of the detail utilities 2025-12-20 12:50:44 +01:00
Ion Gaztañaga
1373f29730 Further refine complex map examples and link the example presentation to the relevant uses-allocator construction section 2025-12-20 00:43:59 +01:00
Ion Gaztañaga
ef668b1b13 Simplify and rewrite doc_complex_map and co_complex_map_uses_allocator 2025-12-20 00:12:10 +01:00
Ion Gaztañaga
feb074e876 Rewrite uses-allocator construction explanation and add an example that shows the difference a uses_allocator vs non-uses allocator compatible types. 2025-12-19 22:20:08 +01:00
Ion Gaztañaga
db73a97ff9 Better explain uses-allocator protocol 2025-12-19 16:36:19 +01:00