Skip to content

Commit

Permalink
Fix rebase error
Browse files Browse the repository at this point in the history
  • Loading branch information
tiif committed Oct 13, 2024
1 parent 88d2ecd commit 37328f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/shims/unix/linux/eventfd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -299,9 +299,9 @@ fn blocking_eventfd_write_callback<'tcx>(
let eventfd = eventfd_ref.downcast::<Event>().unwrap();

// Future `read` calls will synchronize with this write, so update the FD clock.
if let Some(clock) = &ecx.release_clock() {
ecx.release_clock(|clock| {
eventfd.clock.borrow_mut().join(clock);
}
});

// In the happy case, the new_count is checked before executing this callback.
// In the case where the counter previously overflows or has the value u64::MAX,
Expand Down

0 comments on commit 37328f8

Please sign in to comment.