Skip to content

GHC.Conc.Windows has a surprising queue

GHC.Conc.Windows seems to use [DelayReq] as a priority queue, and uses foldr to insert multiple elements into it. Unless these lists are always very short (are they?) that seems like a bad idea.

Trac metadata
Trac field Value
Version 8.4.3
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Core Libraries
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system Unknown/Multiple
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information