#3210: Allow programs to change the number of capabilities
---------------------------------+------------------------------------------
    Reporter:  NeilMitchell      |        Owner:              
        Type:  feature request   |       Status:  new         
    Priority:  low               |    Milestone:  7.4.1       
   Component:  Compiler          |      Version:  6.10.2      
    Keywords:                    |     Testcase:              
   Blockedby:                    |   Difficulty:  Unknown     
          Os:  Unknown/Multiple  |     Blocking:              
Architecture:  Unknown/Multiple  |      Failure:  None/Unknown
---------------------------------+------------------------------------------

Comment(by simonmar):

 commit 92e7d6c92fdd14de424524564376d3522f2a40cc
 {{{
 Author: Simon Marlow <[email protected]>
 Date:   Tue Dec 6 15:12:07 2011 +0000

     Allow the number of capabilities to be increased at runtime (#3729)

     At present the number of capabilities can only be *increased*, not
     decreased.  The latter presents a few more challenges!

  docs/users_guide/using.xml |   14 +++-
  includes/rts/Threads.h     |   10 +++
  rts/Capability.c           |   66 ++++++++++++-----
  rts/Capability.h           |    6 ++-
  rts/Linker.c               |    1 +
  rts/Schedule.c             |  172
 ++++++++++++++++++++++++++++++++++++--------
  rts/Stats.c                |    2 +-
  rts/Task.c                 |   28 +++++++
  rts/Task.h                 |    5 ++
  rts/Trace.c                |    7 ++
  rts/Trace.h                |    1 +
  rts/eventlog/EventLog.c    |   27 ++++++--
  rts/eventlog/EventLog.h    |    1 +
  rts/sm/GC.c                |   50 ++++++++-----
  rts/sm/GC.h                |    2 +-
  rts/sm/Storage.c           |   70 +++++++++++--------
  rts/sm/Storage.h           |    4 +
  17 files changed, 358 insertions(+), 108 deletions(-)
 }}}

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

_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to