Host views of the mailbox words: acquire loads, release stores, atomic read-modify-writes, byte windows, and the pipe words over it
$ sexc add @ajax/mesh-mailbox- total 3
- drwxr-xr-x-../
- drwxr-xr-x-Oct 27 02:57v/# 1 version
- drwxr-xr-x-Oct 27 02:57files/# the files of 0.1.0
- latest
- 0.1.0, published Oct 27 02:57 by ajax
- owners
- ajax
- license
- MIT
- dependencies
- @ajax/mesh-abi-base ^0.1.0, @ajax/mesh-abi-words ^0.1.0, @ajax/mesh-words-host ^0.1.0, @ajax/mesh-check ^0.1.0
- dependents
- @ajax/mesh-driver, @ajax/mesh-exec-wasm, @ajax/mesh-exec-wasm-imports, @ajax/mesh-inproc, @ajax/mesh-jobd, @ajax/mesh-lease, @ajax/mesh-load-prog, @ajax/mesh-mps, @ajax/mesh-native, @ajax/mesh-prog-gemm, @ajax/mesh-prog-pipesink, @ajax/mesh-prog-pipesrc-n, @ajax/mesh-prog-table, @ajax/mesh-publish, @ajax/mesh-shared, @ajax/mesh-snapshot, @ajax/mesh-worker, @ajax/mesh-worker-ctx, @ajax/mesh-worker-node
- keywords
- mesh alphaos mailbox atomics host
- homepage
- https://github.com/thomasdavis/alpha-c-mesh/tree/main/packages/mesh-mailbox
- repository
- https://github.com/thomasdavis/alpha-c-mesh
1# @ajax/mesh-mailbox 2 3Host views of the mailbox words: acquire loads, relaxed payload stores, release publishes, atomic adds and compare-and-swap, 64-bit and byte access, word-wise byte windows, and the pipe words (`mesh_words`) over it. A bad offset aborts with the offset, as the Rust's assert panics. 4 5## Ported from 6 7[alpha-rust-mesh](https://github.com/rsafier/alpha-rust-mesh) (Richard Safier, MIT): crates/mesh-host/src/mailbox.rs. 8 9## Tests 10 11`tests/mailbox.c`: every accessor, windows with padding, and the pipe words. 12 13## Licence 14 15MIT. See the repository's LICENSE.