1# @ajax/mesh-shm
23The mailbox's memory: a zeroed MAILBOX_BYTES shared-memory file (a close-on-exec memfd on Linux; an unlinked `shm_open` on macOS) mapped `MAP_SHARED`, which native workers and MPS workers map too (`/proc/<pid>/fd/<fd>`).
45## Ported from
67[alpha-rust-mesh](https://github.com/rsafier/alpha-rust-mesh) (Richard Safier, MIT): crates/mesh-host/src/shm.rs.
89## Tests
1011`tests/shm.c`: the Rust's `two_mappings_share_words` and `shared_with_a_child_process`, the `/proc` path, and a full-size mailbox.
1213## Licence
1415MIT. See the repository's LICENSE.