Mercurial > public > mercurial-scm > hg
diff rust/hg-core/src/revlog/node.rs @ 51230:ca81cd96000a
rust-index: add Sync bound to all relevant mmap-derived values
All readonly mmaps are Sync as far as Rust is concerned. Integrity of the
mmap'ed file is a concern separate to Rust's memory model, since it requires
out-of-program handling via locks, etc.
This will help when we start sharing the Rust Index with Python.
author | Rapha?l Gom?s <rgomes@octobus.net> |
---|---|
date | Thu, 26 Oct 2023 15:26:19 +0200 |
parents | b4d152a28742 |
children | 918ceb5a3d25 |