diff options
Diffstat (limited to 'docs/users_guide/using-concurrent.rst')
-rw-r--r-- | docs/users_guide/using-concurrent.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/users_guide/using-concurrent.rst b/docs/users_guide/using-concurrent.rst index 32e24256c3..da27708b5d 100644 --- a/docs/users_guide/using-concurrent.rst +++ b/docs/users_guide/using-concurrent.rst @@ -76,6 +76,10 @@ the :ghc-flag:`-threaded` option (see :ref:`options-linker`). Additionally, the following compiler options affect parallelism: .. ghc-flag:: -feager-blackholing + :shortdesc: Turn on :ref:`eager blackholing <parallel-compile-options>` + :type: dynamic + :category: + :noindex: Blackholing is the act of marking a thunk (lazy computation) as being under evaluation. It is useful for three reasons: firstly it @@ -129,6 +133,8 @@ use the RTS :rts-flag:`-N ⟨x⟩` options. value of ⟨x⟩ itself based on how many processors are in your machine. + Omitting ``-N⟨x⟩`` entirely means ``-N1``. + With ``-maxN⟨x⟩``, i.e. ``+RTS -maxN3 -RTS``, the runtime will choose at most (x), also limited by the number of processors on the system. Omitting (x) is an error, if you need a default use option ``-N``. |