From: Ross Paterson Date: Fri, 29 Sep 2006 10:32:52 +0000 (+0000) Subject: add doc link to bound threads section X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=b7974b34bbe4737215d38e766b5d7d7797568341;p=haskell-directory.git add doc link to bound threads section --- diff --git a/Control/Concurrent.hs b/Control/Concurrent.hs index a99bc37..adee312 100644 --- a/Control/Concurrent.hs +++ b/Control/Concurrent.hs @@ -252,6 +252,7 @@ nmergeIO lss -- Bound Threads {- $boundthreads + #boundthreads# Support for multiple operating system threads and bound threads as described below is currently only available in the GHC runtime system if you use the @@ -435,7 +436,7 @@ runInUnboundThread action = do worker OS threads. If you need control over which particular OS thread is used to run a given Haskell thread, perhaps because you need to call a foreign library that uses OS-thread-local - state, then you need "bound threads" (see above). + state, then you need bound threads (see "Control.Concurrent#boundthreads"). If you don't use the @-threaded@ option, then the runtime does not make use of multiple OS threads. Foreign calls will block