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.

Change History (1)

comment:1 by Ion Gaztañaga, 10 years ago

Resolution: fixed
Status: newclosed

(In [83142]) Fixes #8030

Note: See TracTickets for help on using tickets.