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 f3c1cdd commit c45b6eeCopy full SHA for c45b6ee
io-sim/src/Control/Monad/IOSim/Internal.hs
@@ -370,7 +370,7 @@ schedule !thread@Thread{
370
371
StartTimeout d action' k ->
372
{-# SCC "schedule.StartTimeout" #-} do
373
- lock <- TMVar <$> execNewTVar nextVid (Just $ "lock-" ++ show nextTmid) Nothing
+ !lock <- TMVar <$> execNewTVar nextVid (Just $ "lock-" ++ show nextTmid) Nothing
374
let !expiry = d `addTime` time
375
!timers' = PSQ.insert nextTmid expiry (TimerTimeout tid nextTmid lock) timers
376
!thread' = thread { threadControl =
0 commit comments