Skip to content

Commit 785dc08

Browse files
Saizanbolt12
authored andcommitted
remove assert about PSQ.toList runqueue order.
1 parent b91d1bd commit 785dc08

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

io-sim/src/Control/Monad/IOSimPOR/Internal.hs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -247,9 +247,6 @@ invariant Nothing SimState{runqueue,threads,clocks} =
247247
assert (PSQ.fold' (\(Down tid) _ _ a -> tid `Map.member` threads && a) True runqueue)
248248
. assert (and [ (isThreadBlocked t || isThreadDone t) == not (Down (threadId t) `PSQ.member` runqueue)
249249
| t <- Map.elems threads ])
250-
. assert (and (zipWith (\(Down tid, _, _) (Down tid', _, _) -> tid > tid')
251-
(PSQ.toList runqueue)
252-
(drop 1 (PSQ.toList runqueue))))
253250
. assert (and [ threadClockId t `Map.member` clocks
254251
| t <- Map.elems threads ])
255252

0 commit comments

Comments
 (0)