Ion Gaztañaga
85786848f0
Separate a special function for creating shared folders as permissions and logic is different from normal folder open/create logic in Unix
boost-1.78.0
2021-11-09 00:54:26 +01:00
Ion Gaztañaga
aea16e77c8
Correct mode_t constant, it should be octal.
2021-11-08 08:38:01 +01:00
Ion Gaztañaga
cb60ee044e
Update changelog with #158
2021-11-07 21:29:22 +01:00
Ion Gaztañaga
8f1dbc7d01
Merge pull request #158 from Helflym/develop
...
atomic.hpp: adapt headers to AIX assembler
2021-11-07 21:27:45 +01:00
Ion Gaztañaga
7a743c6853
Fixes #157 ("Set sticky bit on shared interprocess folder")
2021-11-07 21:11:40 +01:00
Clément Chigot
930cd23f55
atomic.hpp: adapt headers to AIX assembler
...
AIX assembler doesn't allow "bne- 1b" or "bne- 1f" symtax to jump to a
given label. It must be replaced by "bne- $N", N being the memory
offset between the current instruction and the targeted label.
2021-10-28 16:16:06 +02:00
Ion Gaztañaga
efc75031f5
Support Clang's -Wconversion -Wfloat-conversion -Wsign-conversion with -Werror
boost-1.78.0.beta1
2021-10-20 00:18:59 +02:00
Ion Gaztañaga
3b5da7b0c1
Support GCC's -Wconversion -Wfloat-conversion -Warith-conversion -Wsign-conversion warnings.
2021-10-16 17:46:01 +02:00
Ion Gaztañaga
8fd6261f62
Support C++20 allocator<void>, which might not have "::pointer" type
2021-09-24 22:17:35 +02:00
Ion Gaztañaga
af0c934000
Fixes #154 ("shared_memory_object::truncate() fails on AIX")
2021-09-24 19:04:28 +02:00
Ion Gaztañaga
ee1f6a2dc2
Update changelog with #155
2021-09-24 18:30:29 +02:00
Ion Gaztañaga
116e6515b1
Merge branch 'apolukhin-antoshkka/enable-shared-from-const' into develop
2021-09-24 18:29:23 +02:00
Antony Polukhin
122f69aa00
properly initilize enable_shared_from_this if the type is const
2021-09-24 14:26:24 +03:00
Ion Gaztañaga
e4259fe168
Timeout support for managed memory segments. Adding BOOST_INTERPROCESS_MANAGED_OPEN_OR_CREATE_INITIALIZE_MAX_TRIES/BOOST_INTERPROCESS_MANAGED_OPEN_OR_CREATE_INITIALIZE_TIMEOUT_SEC configurable parameters.
...
Fixes #128 ("Infinite loop in managed_open_or_create_impl.hpp")
Fixes #130 ("infinite loop in managed_open_or_create_impl.hpp if filesize is 0")
2021-08-24 14:57:59 +02:00
Ion Gaztañaga
4aebafe6e4
Remove detail/config_begin|config_end includes from examples as they hide useful warnings
2021-08-24 14:55:55 +02:00
Ion Gaztañaga
4f0b3c2c93
Fixes #103 ("Use interprocess headers without exception handling")
2021-08-23 13:32:08 +02:00
Ion Gaztañaga
f8d2da6a18
Fixes #142 ("File lock documentation about advisory locking is inaccurate on Windows").
2021-08-23 10:14:38 +02:00
Ion Gaztañaga
7c8893788d
Fixes #65 ("Robustness of the interprocess mutex") and fixes #67 ("Changed to use posix robust mutex").
2021-08-22 00:31:16 +02:00
Ion Gaztañaga
512f95cb07
Implements standard C++ mutex/condition variable requirements for Interprocess utilities.
...
Fixes #149 ("interprocess_condition_any::timed_wait update")
2021-08-19 00:38:24 +02:00
Ion Gaztañaga
8ec3dfb396
Remove deprecated volatile variables for inter-thread communication
2021-08-12 01:41:50 +02:00
Ion Gaztañaga
9ac7eb3d84
Fixes #145 ("1.76 now requires unicode paths on windows")
2021-08-12 01:41:26 +02:00
Peter Dimov
7b2a37e614
Add CMakeLists.txt
boost-1.77.0.beta1
boost-1.77.0
2021-05-28 00:29:58 +03:00
Peter Dimov
1f089d8d81
Merge branch 'master' into develop
2021-05-28 00:29:19 +03:00
Ion Gaztañaga
c3dee08950
Fixes #50 ("64-byte alignment causes assertion in rbtree_best_fit")
2021-05-11 14:48:49 +02:00
Ion Gaztañaga
0fcdbc4083
Interprocess no longer depends on Boost.DateTime. Instead, all timed functions were templated to take a TimePoint. This time point can be boost::date_time::ptime, std::time_point or boost::chrono::time_point.
2021-04-13 15:18:23 +02:00
Ion Gaztañaga
93011bffe9
merge MacOs compilation fixes for Boost 1.76
boost-1.76.0.beta1
boost-1.76.0
2021-03-12 17:07:45 +01:00
Ion Gaztañaga
3a856a0343
"robust_emulation_helpers::mutex_traits" forward declaration should be present when spin_recursive_mutex is used.
2021-03-12 08:57:34 +01:00
Ion Gaztañaga
dc11515620
Fix MacOS compilation error, the method to select the underlying synchronization mechanism was broken.
2021-03-11 23:12:09 +01:00
Ion Gaztañaga
faa7db28d3
merging interprocess from develop
2021-03-01 23:21:35 +01:00
Ion Gaztañaga
eee6eecb77
Update notes on "Shared memory emulation folder" with current behaviour.
2021-02-21 00:41:54 +01:00
Ion Gaztañaga
ece73cef73
Fixes #120 ("segment_manager customization")
2021-02-21 00:15:21 +01:00
Ion Gaztañaga
cb30bb5f67
Closes #115
2021-02-19 00:33:16 +01:00
Ion Gaztañaga
3851b2c785
Add BOOST_NOEXCEPT to sync utilities
2021-02-16 00:18:44 +01:00
Ion Gaztañaga
75ecc955d3
Fixes #122 ("Mark constructors/assignment/swap noexcept where possible")
2021-02-16 00:01:04 +01:00
Ion Gaztañaga
9f40b16e9c
- Alignment passed "to managed_open_or_create_impl" shall be the strictest between alignof(segment_manager) and the alignment of the embedded memory algorithm so that both the segment_manager and the allocated blocks are properly aligned.
2021-02-15 16:03:27 +01:00
Ion Gaztañaga
bc06a9bc2a
Fix tests that was executing nothing due to bad include order.
2021-02-15 11:21:43 +01:00
Ion Gaztañaga
f85d2cb99c
Make priv_end_block() more consistent with priv_add_segment() avoid false positives in assertions.
2021-02-15 10:18:08 +01:00
Ion Gaztañaga
6b61f9d990
Fixes #83 ("Add BOOST_INTERPROCESS_FORCE_NATIVE_EMULATION option")
2021-02-14 00:36:13 +01:00
Ion Gaztañaga
639afc2a59
Rename internal "windows_xxx" implementations to "winapi_xxx" implementation as public "windows_xxx" resources are native windows implementations, instead of POSIX emulations based on winapi system calls.
2021-02-13 23:27:50 +01:00
Ion Gaztañaga
26be575e66
Fix ASAN error in vectorstream_test
2021-02-13 22:44:42 +01:00
Ion Gaztañaga
74fac07b21
Fixes #126 ("_ReadWriteBarrier is deprecated warning when compiling with clang-cl.exe!) disabling deprecation warning on BOOST_INTERPROCESS_READ_WRITE_BARRIER
2021-02-12 19:21:07 +01:00
Ion Gaztañaga
00b85dff97
Fixes #138 .
2021-02-12 00:12:02 +01:00
Ion Gaztañaga
86464712c2
- As suggested in the report, windows_semaphore implementation stores the initial count to be able to use it when there is need to recreate the winapi semaphore structure. Fixes #123 .
...
- Tests are also improved in Windows to test both the generic implementation and the alternative windows implementation.
2021-02-11 12:59:40 +01:00
Ion Gaztañaga
705a51f649
Removed _beginthreadex usage. Fixes #76 .
2021-02-10 22:28:45 +01:00
Ion Gaztañaga
b88b52ffb4
Merge pull request #91 from bolry/patch-1
...
Correct references for named_condition_any
2021-02-03 11:12:01 +01:00
Ion Gaztañaga
dd9a9aff49
Merge pull request #100 from doj/develop
...
fix wording about 32 bit systems.
2021-02-03 11:08:49 +01:00
Ion Gaztañaga
87379be15f
Fixes #106 (Use fallocate on truncate_file)
2021-02-03 09:15:40 +01:00
Ion Gaztañaga
b5dedc76a4
Update release notes with #92
2021-02-02 15:16:40 +01:00
Ion Gaztañaga
60accc3c53
Merge branch 'decent-dcore-patch-1' into develop
2021-02-02 15:15:23 +01:00
Ion Gaztañaga
561e9e80b5
Merge branch 'patch-1' of https://github.com/decent-dcore/interprocess into decent-dcore-patch-1
2021-02-02 15:15:12 +01:00