[commit: base] master: Export setNumCapabilities (1b5f7ae)
Simon Marlow
marlowsd at gmail.com
Tue Jan 3 16:00:27 CET 2012
Repository : ssh://darcs.haskell.org//srv/darcs/packages/base
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/1b5f7ae2ffc6f3c851970efc26687763a4e0fc58
>---------------------------------------------------------------
commit 1b5f7ae2ffc6f3c851970efc26687763a4e0fc58
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.
>---------------------------------------------------------------
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