summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2020-05-27 13:06:55 -0400
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-05-30 06:07:31 -0400
commit1449435c7bf1075f5cd11098d8c98b99f8fe150a (patch)
tree3b53334aceac41919cd5017053ba3d23d1a0439d /docs
parent4413828b7c507872c56719fb8920e1c2322830f8 (diff)
downloadhaskell-1449435c7bf1075f5cd11098d8c98b99f8fe150a.tar.gz
users-guide: Note change in getNumProcessors in users guide
Diffstat (limited to 'docs')
-rw-r--r--docs/users_guide/8.12.1-notes.rst10
-rw-r--r--docs/users_guide/using-concurrent.rst1
2 files changed, 8 insertions, 3 deletions
diff --git a/docs/users_guide/8.12.1-notes.rst b/docs/users_guide/8.12.1-notes.rst
index dc666f8064..d7abe39bd6 100644
--- a/docs/users_guide/8.12.1-notes.rst
+++ b/docs/users_guide/8.12.1-notes.rst
@@ -17,7 +17,7 @@ Highlights
digit improvements in runtime for inner loops.
In the mean this improved runtime by about 0.8%. For details
- see ticket #17823.
+ see ticket :ghc-ticket:`17823`.
Full details
------------
@@ -95,7 +95,7 @@ Language
effectively allows users to choose which variables can or can't be
instantiated through visible type application. More information can be found
here: :ref:`Manually-defining-inferred-variables`.
-
+
Compiler
~~~~~~~~
@@ -105,11 +105,15 @@ GHCi
- The ``:script`` command now allows for file names that contain spaces to
passed as arguments: either by enclosing the file names in double quotes or by
- escaping spaces in file names with a backslash. (#18027)
+ escaping spaces in file names with a backslash. (:ghc-ticket:`18027`)
Runtime system
~~~~~~~~~~~~~~
+- :rts-flag:`-N` without a count now tries to respect the number of processors
+ in the process's affinity mask, making GHC's behavior more predictable in
+ containerized settings (:ghc-ticket:`14781`).
+
Template Haskell
~~~~~~~~~~~~~~~~
diff --git a/docs/users_guide/using-concurrent.rst b/docs/users_guide/using-concurrent.rst
index 035568a366..556f252fb1 100644
--- a/docs/users_guide/using-concurrent.rst
+++ b/docs/users_guide/using-concurrent.rst
@@ -111,6 +111,7 @@ There are two ways to run a program on multiple processors: call
use the RTS :rts-flag:`-N ⟨x⟩` options.
.. rts-flag:: -N ⟨x⟩
+ -N
-maxN ⟨x⟩
Use ⟨x⟩ simultaneous threads when running the program.