[[project @ 2005-11-17 10:12:26 by simonmar] simonmar**20051117101226 Separate the documentation for Concurrent Haskell from that for Parallel Haskell, and put a big note at the top of the Parallel Haskell section pointing to the GPH site. ] { hunk ./ghc/docs/users_guide/using.xml 1481 -Using Concurrent Haskell + Using Concurrent Haskell + Concurrent Haskellusing hunk ./ghc/docs/users_guide/using.xml 1484 - Concurrent Haskell—use + GHC supports Concurrent Haskell by default, without requiring a + special option or libraries compiled in a certain way. To get access to + the support libraries for Concurrent Haskell, just import + Control.Concurrent. More information on Concurrent Haskell is provided in the documentation for that module. hunk ./ghc/docs/users_guide/using.xml 1490 - -GHC supports Concurrent Haskell by default, without requiring a -special option or libraries compiled in a certain way. To get access -to the support libraries for Concurrent Haskell, just import -Control.Concurrent (details are in the accompanying -library documentation). - - -RTS options are provided for modifying the behaviour of the threaded -runtime system. See . - - - -Concurrent Haskell is described in more detail in the documentation -for the Control.Concurrent module. - + The following RTS option(s) affect the behaviour of Concurrent + Haskell programs:RTS options, concurrent hunk ./ghc/docs/users_guide/using.xml 1493 - + + + + + RTS option + Sets the context switch interval to s + seconds. A context switch will occur at the next heap block + allocation after the timer expires (a heap block allocation occurs + every 4k of allocation). With or + , context switches will occur as often as + possible (at every heap block allocation). By default, context + switches occur every 20ms. Note that GHC's internal timer ticks + every 20ms, and the context switch timer is always a multiple of + this timer, so 20ms is the maximum granularity available for timed + context switches. + + + + hunk ./ghc/docs/users_guide/using.xml 1517 -parallel Haskell—use - - - -[You won't be able to execute parallel Haskell programs unless PVM3 +Parallel Haskellusing +[NOTE: GHC does not support Parallel Haskell by default, you need to + obtain a special version of GHC from the GPH site. Also, +you won't be able to execute parallel Haskell programs unless PVM3 hunk ./ghc/docs/users_guide/using.xml 1530 -parallel into your Haskell modules. +Control.Parallel into your Haskell modules. hunk ./ghc/docs/users_guide/using.xml 1662 --qP RTS option (concurrent, parallel) RTS option. The +-qP RTS option RTS option. The hunk ./ghc/docs/users_guide/using.xml 1707 -RTS options for Concurrent/parallel Haskell +<title>RTS options for Parallel Haskell hunk ./ghc/docs/users_guide/using.xml 1711 -<indexterm><primary>RTS options, concurrent</primary></indexterm> hunk ./ghc/docs/users_guide/using.xml 1712 -<indexterm><primary>Concurrent Haskell—RTS options</primary></indexterm> hunk ./ghc/docs/users_guide/using.xml 1718 -for concurrent/parallel execution. +for parallel execution. hunk ./ghc/docs/users_guide/using.xml 1773 -(paraLLEL ONLY) Limit the thread pool size, i.e. the number of concurrent +(paraLLEL ONLY) Limit the thread pool size, i.e. the number of }