File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
io-sim/src/Control/Monad/IOSimPOR Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -591,8 +591,7 @@ schedule thread@Thread{
591
591
ThrowTo e tid' _ | tid' == tid -> do
592
592
-- Throw to ourself is equivalent to a synchronous throw,
593
593
-- and works irrespective of masking state since it does not block.
594
- let thread' = thread { threadControl = ThreadControl (Throw e) ctl
595
- , threadMasking = MaskedInterruptible }
594
+ let thread' = thread { threadControl = ThreadControl (Throw e) ctl }
596
595
trace <- schedule thread' simstate
597
596
return (SimTrace time tid tlbl (EventThrowTo e tid) trace)
598
597
@@ -631,7 +630,6 @@ schedule thread@Thread{
631
630
threadVClock = vClock' } =
632
631
t { threadControl = ThreadControl (Throw e) ctl'
633
632
, threadBlocked = False
634
- , threadMasking = MaskedInterruptible
635
633
, threadVClock = vClock' `leastUpperBoundVClock` vClock }
636
634
simstate'@ SimState { threads = threads' }
637
635
= snd (unblockThreads vClock [tid'] simstate)
You can’t perform that action at this time.
0 commit comments