diff options
author | Yureka <tvl@yuka.dev> | 2024-09-27T19·30+0200 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2024-10-01T13·40+0000 |
commit | d277bd9fbf17d579b9c51c12a4126f67a9e9db6c (patch) | |
tree | 6db503930e6cc9950fc7bfcc357807899deb01ae /tvix/castore/protos/castore.proto | |
parent | 84f4ea5e7ce2fe8dc5c315a73c2158b578546f94 (diff) |
feat(tvix/castore/refscan): share the scanner between readers r/8740
This changes the only actual state the ReferenceScanner has to use atomic bools, so it no longer requires a mutable borrow for .scan(). This allows passing an immutable borrow of a reference scanner to multiple threads which might be ingesting blobs in parallel, and using them in the ReferenceReader or calling .scan() there. Change-Id: Id5c30bcebb06bf15eae8c4451d70eb806cab722e Reviewed-on: https://cl.tvl.fyi/c/depot/+/12528 Autosubmit: yuka <yuka@yuka.dev> Reviewed-by: flokli <flokli@flokli.de> Tested-by: BuildkiteCI
Diffstat (limited to 'tvix/castore/protos/castore.proto')
0 files changed, 0 insertions, 0 deletions