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
Ion Gaztañaga
a3c27fff1f
Fix potential out of bounds write warning for GCC
2021-12-30 12:51:04 +01:00
Ion Gaztañaga
478b6fd2d5
Fix -Wcast-align warning
2021-12-30 12:50:35 +01:00
Ion Gaztañaga
0a726b236c
Remove unused file
2021-12-30 12:50:16 +01:00
Ion Gaztañaga
d8ae15ec2d
Fix -Wshadow warnings
2021-12-30 12:50:04 +01:00
Ion Gaztañaga
7d8de77a2c
Add workflow
2021-12-28 18:31:37 +01:00
Ion Gaztañaga
8322bae2f6
Remove GCC's -Wcast-align=strict warnings
2021-12-28 17:11:05 +01:00
Ion Gaztañaga
2e6b8c0d9d
Fix -Wshadow warning
2021-12-27 14:41:30 +01:00
Ion Gaztañaga
55ad499dc4
Fixes #160 ("More GCC suggest-override warnings").
2021-12-27 00:26:54 +01:00
Ion Gaztañaga
9789c8d6c2
Update changelog with Issue #162
2021-12-26 22:57:18 +01:00
Ion Gaztañaga
d002a0d929
Merge pull request #162 from leonardohn/develop
...
Fix missing sys/stat.h include on musl-based systems
2021-12-26 22:53:18 +01:00
Leonardo Neumann
de657e0163
Fix missing sys/stat.h include on musl-based systems
...
Boost 1.78.0 fails to build on musl-based systems because musl does
not include sys/stat.h by default.
Fixes #161 ("Boost compiler error")
2021-12-13 01:10:46 -03:00
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