Skip to content

Commit

Permalink
add note about macOS share and exec policy
Browse files Browse the repository at this point in the history
  • Loading branch information
fatteneder committed Mar 3, 2024
1 parent 21a2a0c commit f886c8c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions stdlib/Mmap/src/Mmap.jl
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,10 @@ will be visible to other processes mapping the same file.
The `exec` keyword argument specifies whether the underlying mmap data will be executable.
!!! note
On MacOS `exec=true` implies `shared=false`, because each thread has its own access permissions to `mmap` regions.
For example, the following code
```julia
Expand Down

0 comments on commit f886c8c

Please sign in to comment.