boostorg / interprocess

Boost.org interprocess module
http://boost.org/libs/interprocess
132 stars 117 forks source link

Document platform specific limitations with shared memory #186

Open Dalzhim opened 1 year ago

Dalzhim commented 1 year ago

It can be very hard to figure out why shared memory cannot be created on macos when getting errno=1 ("Operation not permitted") as the only information. It turns out that sandboxed applications have extra hoops to go through to use shared memory. Here are the relevant documents :

I believe the interprocess library's documentation could point people to Apple's documentation in order to make it easier to use!