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 b0b02fd commit 81d1d46Copy full SHA for 81d1d46
io-sim/src/Control/Monad/IOSimPOR/Internal.hs
@@ -438,9 +438,9 @@ schedule thread@Thread{
438
t = Timeout tvar tvar' nextTmid
439
timers' = PSQ.insert nextTmid expiry (TimerVars tvar tvar') timers
440
thread' = thread { threadControl = ThreadControl (k t) ctl }
441
- trace <- schedule thread' simstate { timers = timers'
442
- , nextVid = succ (succ nextVid)
443
- , nextTmid = succ nextTmid }
+ !trace <- schedule thread' simstate { timers = timers'
+ , nextVid = succ (succ nextVid)
+ , nextTmid = succ nextTmid }
444
return (SimPORTrace time tid tstep tlbl (EventTimerCreated nextTmid nextVid expiry) trace)
445
446
-- we do not follow `GHC.Event` behaviour here; updating a timer to the past
0 commit comments