Skip to content

Commit c8614a8

Browse files
committed
remove isolation check on timeout
1 parent c9b37ba commit c8614a8

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/shims/windows/sync.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -380,10 +380,7 @@ pub trait EvalContextExt<'mir, 'tcx: 'mir>: crate::MiriInterpCxExt<'mir, 'tcx> {
380380
let timeout_time = if timeout_ms == this.eval_windows("c", "INFINITE")?.to_u32()? {
381381
None
382382
} else {
383-
this.check_no_isolation("`SleepConditionVariableSRW` with non-infinite timeout")?;
384-
385383
let duration = Duration::from_millis(timeout_ms.into());
386-
387384
Some(this.machine.clock.now().checked_add(duration).unwrap())
388385
};
389386

0 commit comments

Comments
 (0)