File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -415,7 +415,7 @@ impl<Shared: TripleBufferRef> Input<Shared> {
415415 shared
416416 . status ( )
417417 . next_io_indices
418- . fetch_update ( Ordering :: Release , Ordering :: Relaxed , |old_next_indices| {
418+ . fetch_update ( Ordering :: Acquire , Ordering :: Relaxed , |old_next_indices| {
419419 input_idx =
420420 ( old_next_indices & NEXT_INPUT_MASK ) >> NEXT_INPUT_MASK . trailing_zeros ( ) ;
421421 assert_ne ! (
@@ -657,7 +657,7 @@ impl<Shared: TripleBufferRef> Output<Shared> {
657657 shared
658658 . status ( )
659659 . next_io_indices
660- . fetch_update ( Ordering :: Release , Ordering :: Relaxed , |old_next_indices| {
660+ . fetch_update ( Ordering :: Acquire , Ordering :: Relaxed , |old_next_indices| {
661661 output_idx =
662662 ( old_next_indices & NEXT_OUTPUT_MASK ) >> NEXT_OUTPUT_MASK . trailing_zeros ( ) ;
663663 assert_ne ! (
You can’t perform that action at this time.
0 commit comments