Commit Graph

900 Commits

Author SHA1 Message Date
Ion Gaztañaga
755dcbe5ba Fix timepoint_to_timespec bug for std/boost chrono timepoints 2024-01-12 13:36:25 +01:00
Ion Gaztañaga
bbdcf1bea4 Add assertions in thread joining functions to catch errors. 2024-01-12 13:34:56 +01:00
Ion Gaztañaga
4f78ee0cc2 Remove unneeded functions 2024-01-12 13:34:27 +01:00
Ion Gaztañaga
9eeb075089 Add a more robust nanosleep use taking EINTR into account 2024-01-09 02:04:22 +01:00
Ion Gaztañaga
04fa948217 Add missing change from timer fixses 2024-01-09 01:07:49 +01:00
Ion Gaztañaga
6b498b9b44 Add missing return 2024-01-09 00:53:40 +01:00
Ion Gaztañaga
f052680461 Make synchronization primitive tests more granular on timeouts, from seconds to miliseconds precission for Base Times. This should reduce CI times. 2024-01-09 00:42:22 +01:00
Ion Gaztañaga
7f785fe334 Print NUMBER_OF_PROCESSORS for windows runs 2024-01-09 00:37:54 +01:00
Ion Gaztañaga
f91e0e792f Output wrong InstanceCounter value on error to better diagnose errors in the test. Clang-win seems to produce correct code in more cases when adding those outputs (compiler bug?). 2024-01-06 02:31:27 +01:00
Ion Gaztañaga
0191a31e21 Increase shared memory size for container tests 2024-01-06 01:17:51 +01:00
Ion Gaztañaga
38a03cc08c Fix broken C+03 support 2024-01-05 13:17:32 +01:00
Ion Gaztañaga
687ede9281 Update CI platforms, using containers for older compilers 2024-01-05 00:39:56 +01:00
Ion Gaztañaga
310af5c70a Fixes #201 ("Memory allocation docs reference dead website") 2023-12-07 14:36:41 +01:00
Ion Gaztañaga
718e17dd3e Merge branch 'develop' of github.com:boostorg/interprocess into develop 2023-04-24 13:11:27 +02:00
Ion Gaztañaga
5e5a527f2c Updated changelog with #188 2023-04-24 13:11:09 +02:00
Ion Gaztañaga
f3de4e90e7 Merge pull request #188 from eagleoflqj/emscripten-shm
Fix: emscripten doesn't support shm
2023-04-24 13:00:40 +02:00
Ion Gaztañaga
b55f26b39c Use official boost unordered_map header. 2023-04-24 12:56:06 +02:00
Ion Gaztañaga
33bc2635fd Simplify in_place_interface and avoid aliasing in reference-passed "constructed" argument. 2023-04-20 22:18:52 +02:00
Ion Gaztañaga
bd860e1d6d Fixes #195 ("namespace conflict on constructing objects in segment manager with named proxy in combination with boost geometry") 2023-04-20 20:30:13 +02:00
Ion Gaztañaga
2dda014685 Disable forceinline with Clang, see https://github.com/llvm/llvm-project/issues/62202 2023-04-18 22:26:28 +02:00
Ion Gaztañaga
a0c5a8ff17 Remove dead files from repo boost-1.84.0.beta1 boost-1.84.0 boost-1.83.0.beta1 boost-1.83.0 boost-1.82.0 2023-02-20 15:54:05 +01:00
Ion Gaztañaga
d578251c71 Add missing <boost/static_assert.hpp> includes boost-1.82.0.beta1 2023-02-16 20:31:42 +01:00
Ion Gaztañaga
1ab6010647 Add note about limitations for sandboxed applications in MacOs 2023-02-01 23:17:07 +01:00
Ion Gaztañaga
ac863fe275 Actually test returned const segment manager pointer 2023-02-01 23:16:29 +01:00
Qijia Liu
94ead3e59d emscripten doesn't support shm 2022-12-24 11:29:55 -05:00
Ion Gaztañaga
4403b201be Reduce -j3 to -j2 to avoid spurious failures. boost-1.81.0.beta1 boost-1.81.0 2022-10-13 12:44:54 +02:00
Ion Gaztañaga
41018201d6 Fixes #174 ("shared_memory_object constructor may fail on macOS") boost-1.80.0 2022-07-17 00:28:23 +02:00
Ion Gaztañaga
a5fcf817ab Fixes #181 ("clang-8 warning: result of comparison of constant 'K' with expression of type 'std::size_t' (...) is always false") 2022-07-16 22:28:50 +02:00
Ion Gaztañaga
60cf02cd6e Update changelog with #177 2022-07-16 16:07:53 +02:00
Ion Gaztañaga
6ede2d7b74 Merge pull request #178 from lioriz/feature/check_sanity_mutex_lock
remove redundent assertion alignment check to avoid exiting the function without releasing scoped mutex
2022-07-16 15:29:36 +02:00
lior izrael
f1ecdcf789 remove redundent assertion alignment check to avoid exiting the function without releasing scoped mutex 2022-06-13 15:49:05 +03:00
Ion Gaztañaga
c4a046793e Fixes #166 ("Bad error handling in shared_memory_object::truncate") boost-1.80.0.beta1 boost-1.79.0.beta1 boost-1.79.0 2022-03-07 13:55:01 +01:00
Ion Gaztañaga
da27002056 Merge pull request #170 from Mr-Slippery/bugfix/typo-in-doc
interprocess.qbk: fix minor typo
2022-03-07 13:30:13 +01:00
Ion Gaztañaga
7725c2ec23 Add #171 to changelog 2022-03-07 13:11:07 +01:00
Ion Gaztañaga
5c5ae749d3 Merge branch 'yobeonline-develop' into develop 2022-03-07 13:08:30 +01:00
Ion Gaztañaga
6467ccb6f0 Merge branch 'develop' of https://github.com/yobeonline/interprocess into yobeonline-develop 2022-03-07 13:07:33 +01:00
Ion Gaztañaga
6f8ffa1d4d Merge pull request #172 from jhasse/patch-1
Fix typo in example
2022-03-07 09:45:02 +01:00
Ion Gaztañaga
c272bff939 Fixes #167 ("Invalid string stored in vector") 2022-03-06 22:40:27 +01:00
Ion Gaztañaga
16b2c1826d Fix signed to unsigned conversion warning 2022-03-06 22:38:40 +01:00
Jan Niklas Hasse
f1ca6b5de2 Fix typo in example 2022-02-28 15:41:05 +01:00
Yohann Bénédic
7c736150fb Fixing windows_shared_memory::get_name()
Instead of returning a null pointer, `get_name()` either returns the expected value in case a narrow filename was provided or an empty string otherwise.
2022-02-28 12:55:43 +01:00
Cornel Izbașa
9f53d64788 interprocess.qbk: fix minor typo 2022-02-22 23:28:04 +01:00
Ion Gaztañaga
6982a86d97 Initialize static variables only once in tests 2022-01-04 00:25:35 +01:00
Ion Gaztañaga
882feabac5 Remove commented code from test 2022-01-04 00:25:14 +01:00
Ion Gaztañaga
245f97fc02 Increase minimum version for forceinline usage in MSVC as bad code generation was detected in some cases 2022-01-04 00:24:44 +01:00
Ion Gaztañaga
00b66938e8 Activate BOOST_MOVE_FORCEINLINE with GCC > 5, since some code generation problems were detected in tests executed under MingW. 2022-01-02 00:27:51 +01:00
Ion Gaztañaga
3992b523d0 Simplify rbtree insertion/deletions as there were some unhandled corner cases and it's not performance sensitive code 2021-12-31 13:32:42 +01:00
Ion Gaztañaga
e147018ba9 Silence false positive warning in very few GCC versions, only in release -O3 (as offset_ptr is always initialized in all constructors) 2021-12-31 13:31:46 +01:00
Ion Gaztañaga
a91169af3a Fix unused "new_size" warning 2021-12-31 13:30:44 +01:00
Ion Gaztañaga
fa647e4756 Ignore some warnings as we include other libraries that might not use the same warning levels 2021-12-31 13:30:23 +01:00