diff options
| author | Ian Lynagh <ian@well-typed.com> | 2012-09-27 14:06:32 +0100 |
|---|---|---|
| committer | Ian Lynagh <ian@well-typed.com> | 2012-09-27 14:06:32 +0100 |
| commit | 42cb30bd2c00705da598cc8d4170b41fb5693166 (patch) | |
| tree | 9dda2d7da294ce2825085c5518150899b0490325 /docs/users_guide | |
| parent | 155e9e1369e1a063452f82a35d9edc58c1da2ef7 (diff) | |
| parent | d3128bfc286002862e916296629a22f1ce987e4e (diff) | |
| download | haskell-42cb30bd2c00705da598cc8d4170b41fb5693166.tar.gz | |
Merge branch 'master' of darcs.haskell.org:/srv/darcs//ghc
Diffstat (limited to 'docs/users_guide')
| -rw-r--r-- | docs/users_guide/using.xml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/docs/users_guide/using.xml b/docs/users_guide/using.xml index 2c5217b40d..c3a1366f43 100644 --- a/docs/users_guide/using.xml +++ b/docs/users_guide/using.xml @@ -2332,6 +2332,24 @@ last (x : xs) = last' x xs </listitem> </varlistentry> + <varlistentry> + <term> + <option>-fomit-yields</option> + <indexterm><primary><option>-fomit-yields</option></primary></indexterm> + </term> + <listitem> + <para><emphasis>On by default.</emphasis> Tells GHC to omit + heap checks when no allocation is being performed. While this improves + binary sizes by about 5%, it also means that threads run in + tight non-allocating loops will not get preempted in a timely + fashion. If it is important to always be able to interrupt such + threads, you should turn this optimization off. Consider also + recompiling all libraries with this optimization turned off, if you + need to guarantee interruptibility. + </para> + </listitem> + </varlistentry> + </variablelist> </sect2> |
