We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4586bcc commit 3968bbdCopy full SHA for 3968bbd
sim-rs/sim-core/src/clock/coordinator.rs
@@ -59,7 +59,7 @@ impl ClockCoordinator {
59
while let Some(event) = self.rx.recv().await {
60
match event {
61
ClockEvent::Wait { actor, until, done } => {
62
- assert!(until.is_none_or(|t| t > self.time.load(Ordering::Acquire)));
+ assert!(until.is_none_or(|t| t >= self.time.load(Ordering::Acquire)));
63
if waiters[actor].replace(Waiter { until, done }).is_some() {
64
panic!("An actor has somehow managed to wait twice");
65
}
0 commit comments