projects
/
haskell-directory.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
7501b61
)
add doc link to bound threads section
author
Ross Paterson
<ross@soi.city.ac.uk>
Fri, 29 Sep 2006 10:32:52 +0000
(10:32 +0000)
committer
Ross Paterson
<ross@soi.city.ac.uk>
Fri, 29 Sep 2006 10:32:52 +0000
(10:32 +0000)
Control/Concurrent.hs
patch
|
blob
|
history
diff --git
a/Control/Concurrent.hs
b/Control/Concurrent.hs
index
a99bc37
..
adee312
100644
(file)
--- a/
Control/Concurrent.hs
+++ b/
Control/Concurrent.hs
@@
-252,6
+252,7
@@
nmergeIO lss
-- Bound Threads
{- $boundthreads
-- 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
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
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
If you don't use the @-threaded@ option, then the runtime does
not make use of multiple OS threads. Foreign calls will block