[commit: base] ghc-7.4: Export setNumCapabilities (b3e6c7d)

Paolo Capriotti p.capriotti at gmail.com
Tue Mar 6 16:21:28 CET 2012


Repository : ssh://darcs.haskell.org//srv/darcs/packages/base

On branch  : ghc-7.4

http://hackage.haskell.org/trac/ghc/changeset/b3e6c7d8ef8833e33056f0c8f21cb5f896b6026d

>---------------------------------------------------------------

commit b3e6c7d8ef8833e33056f0c8f21cb5f896b6026d
Author: Simon Marlow <marlowsd at gmail.com>
Date:   Tue Jan 3 11:33:06 2012 +0000

    Export setNumCapabilities
    
    I hadn't noticed that we already have getNumCapabilities here, so we
    should also have setNumCapabilities.
    
    MERGED from commit 1b5f7ae2ffc6f3c851970efc26687763a4e0fc58

>---------------------------------------------------------------

 Control/Concurrent.hs |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/Control/Concurrent.hs b/Control/Concurrent.hs
index 8f35069..55861fc 100644
--- a/Control/Concurrent.hs
+++ b/Control/Concurrent.hs
@@ -45,6 +45,7 @@ module Control.Concurrent (
         forkOn,
         forkOnWithUnmask,
         getNumCapabilities,
+        setNumCapabilities,
         threadCapability,
 
         -- * Scheduling





More information about the Cvs-libraries mailing list