add getNumCapabilities :: IO Int
authorSimon Marlow <marlowsd@gmail.com>
Wed, 22 Dec 2010 12:59:53 +0000 (12:59 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Wed, 22 Dec 2010 12:59:53 +0000 (12:59 +0000)
commitc131671f4b4b2583e7e4a6145360270fe6146e57
tree87793c72d7e00d4a41d6a51135b9e2bb430dc06b
parent1b83f2438da1471dd27eb6469d97be525af66c46
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.
GHC/Conc.lhs
GHC/Conc/Sync.lhs