epoll event adding: no need to join, there's no old clock here

This commit is contained in:
Ralf Jung
2024-10-10 07:53:16 +02:00
parent faf8c14300
commit eb76079911

View File

@@ -626,7 +626,7 @@ fn check_and_update_one_event_interest<'tcx>(
let mut event_instance = EpollEventInstance::new(flags, epoll_event_interest.data);
// If we are tracking data races, remember the current clock so we can sync with it later.
ecx.release_clock(|clock| {
event_instance.clock.join(clock);
event_instance.clock.clone_from(clock);
});
// Triggers the notification by inserting it to the ready list.
ready_list.insert(epoll_key, event_instance);