Mercurial > public > mercurial-scm > hg
comparison rust/hg-core/src/progress.rs @ 52766:549b58b1ce72
rust-inner-revlog: use threadlocals for file handles
In contexts where we access the same revlog from multiple threads
(like in `annotate`), multiple threads would lock the handle, then read from
a different place that they would expect, since the `seek` behavior of the
`InnerRevlog` was written with single threaded access in mind.
author | Rapha?l Gom?s <rgomes@octobus.net> |
---|---|
date | Fri, 24 Jan 2025 13:07:15 -0500 |
parents | a876ab6c3fd5 |
children |
comparison
equal
deleted
inserted
replaced
52765:162f4801ad39 | 52766:549b58b1ce72 |
---|