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 04158c0 commit 42fc797Copy full SHA for 42fc797
io-sim/test/Test/Control/Monad/IOSimPOR.hs
@@ -318,6 +318,7 @@ runTasks :: Compare -> [Task] -> IOSim s (Int,Int)
318
runTasks cmp tasks = do
319
let m = maximum [maxTaskValue t | Task t <- tasks]
320
r <- newTVarIO m
321
+ traceTVarIO r (\_ a -> return (TraceString (show a)))
322
t <- newTVarIO []
323
exploreRaces
324
ts <- mapM (interpret cmp r t) (zip [1..] tasks)
0 commit comments