patch applied (packages/base): add getNumCapabilities :: IO Int

Simon Marlow marlowsd at gmail.com
Wed Feb 2 10:03:34 CET 2011


Wed Dec 22 04:59:53 PST 2010  Simon Marlow <marlowsd at gmail.com>
  * add getNumCapabilities :: IO Int
    
  If we ever get around to implementing #3729 and #3210, then the number
  of capabilities will vary at runtime, so we need to move
  numCapabilities into the IO monad.

    M ./GHC/Conc.lhs +1
    M ./GHC/Conc/Sync.lhs -6 +30

View patch online:
http://darcs.haskell.org/cgi-bin/darcsweb.cgi?r=packages/base;a=darcs_commitdiff;h=20101222125953-12142-c7b39b5a84d7b218f5e8f19dcb97857df688b0be.gz



More information about the Cvs-libraries mailing list