Commit Graph

1155 Commits

Author SHA1 Message Date
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
Ion Gaztañaga
3f12373496 Additional uses_allocator documentation for named construct functions 2025-12-19 15:01:08 +01:00
Ion Gaztañaga
31d5cc5598 Add [[nodiscard]] to several functions. 2025-12-19 11:08:38 +01:00
Ion Gaztañaga
a5beb4fe13 Fix bug in the example: the second object was not being constructed and the checks were wrong. 2025-12-19 11:07:21 +01:00
Ion Gaztañaga
67aab58191 Use Boost.Container's uses_allocator_construction utilities and update documentation to explain this feature 2025-12-19 10:13:45 +01:00
Ion Gaztañaga
520a41bfc9 Add new predefined macros to improve doxygen output 2025-12-19 10:12:49 +01:00
Ion Gaztañaga
32ede30364 Update changelog with #247 2025-12-16 07:24:43 +01:00
Ion Gaztañaga
5fcd261f65 Add note to Cygwin users to remember that cygserver is needed for XSI-based IPC. 2025-12-15 11:00:00 +01:00
Ion Gaztañaga
918ddcd06c Use always POSIX API under Cygwin, even if _WIN32 was defined by previous includes. 2025-12-14 00:27:54 +01:00
Ion Gaztañaga
a9c528cc50 Make apt update more robust adding sleeps betwen retries 2025-12-13 17:21:42 +01:00
Ion Gaztañaga
68de08d76c Revert to "posix" name 2025-12-13 15:25:07 +01:00