Skip to content

Commit aecc1ee

Browse files
authored
fix: SDR: update comment (#1603)
This commit fixes a comment that was outdated. Originally three atomics were used. With commit [a43f3a9] the atomic that is tracking which node the consumer is currently working on was moved into the `CacheReader`. [a43f3a9]: a43f3a9#diff-c1a5ea514dd1555f26b0c1c63a7435ef2804e8759e44de747904ed4bcb47bf20L230-L231 Closes #1602.
1 parent 6b1c28a commit aecc1ee

File tree

1 file changed

+2
-1
lines changed
  • storage-proofs-porep/src/stacked/vanilla/create_label

1 file changed

+2
-1
lines changed

storage-proofs-porep/src/stacked/vanilla/create_label/multi.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,8 @@ fn create_layer_labels(
239239
// Next node to be filled
240240
let cur_awaiting = AtomicU64::new(1);
241241

242-
// These UnsafeSlices are managed through the 3 Atomics above, to minimize any locking overhead.
242+
// These UnsafeSlices are managed through the 2 Atomics above and the `CacheReader`, to
243+
// minimize any locking overhead.
243244
let layer_labels = UnsafeSlice::from_slice(
244245
layer_labels
245246
.as_mut_slice_of::<u32>()

0 commit comments

Comments
 (0)