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 :
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!