From b7974b34bbe4737215d38e766b5d7d7797568341 Mon Sep 17 00:00:00 2001 From: Ross Paterson Date: Fri, 29 Sep 2006 10:32:52 +0000 Subject: [PATCH] add doc link to bound threads section --- Control/Concurrent.hs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 1.7.10.4