Opened 10 years ago
Closed 10 years ago
#8030 closed Feature Requests (fixed)
Add support for platform-specific flags to mapped_region
Reported by: | Andrey Semashev | Owned by: | Ion Gaztañaga |
---|---|---|---|
Milestone: | To Be Determined | Component: | interprocess |
Version: | Boost Release Branch | Severity: | Problem |
Keywords: | Cc: | mapped_region |
Description
I propose to add an additional optional parameter "flags" to the mapped_region constructor. The parameter could be used by users to specify custom platform-specific flags for mapping operation (e.g. MAP_HUGETLB on Linux to map huge pages). These flags would be ORed with the flags the constructor body deduces. By default the constructor behavior should be the same as before.
Note:
See TracTickets
for help on using tickets.
(In [83142]) Fixes #8030