[GHC] #4167: Add numSparks# to return the number of elements in the current capability's spark queue

GHC cvs-ghc at haskell.org
Mon Jul 19 10:02:38 EDT 2010


#4167: Add numSparks# to return the number of elements in the current capability's
spark queue
---------------------------------+------------------------------------------
    Reporter:  ekmett            |        Owner:              
        Type:  feature request   |       Status:  new         
    Priority:  normal            |    Milestone:              
   Component:  Compiler          |      Version:  6.12.3      
    Keywords:                    |   Difficulty:              
          Os:  Unknown/Multiple  |     Testcase:              
Architecture:  Unknown/Multiple  |      Failure:  None/Unknown
---------------------------------+------------------------------------------

Comment(by simonpj):

 This `numSparks#` idea would allow us to implement the "split when hungry"
 idea of Rainey et al; see "Lazy tree splitting", ICFP 2010.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4167#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the Glasgow-haskell-bugs mailing list