summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorDavid Feuer <david.feuer@gmail.com>2017-02-03 17:24:17 -0500
committerDavid Feuer <David.Feuer@gmail.com>2017-02-03 17:25:28 -0500
commit2f5cb3d44d05e581b75a47fec222577dfa7a533e (patch)
tree21704273ae11242c67ead8929bf71713618a1db1 /includes
parentafa409faffba6c340db9ee20f7fa2634ac4f8cd0 (diff)
downloadhaskell-2f5cb3d44d05e581b75a47fec222577dfa7a533e.tar.gz
Attempt to make lazy ST thread safe
Use `noDuplicate#` to prevent lazy `ST` thunks from being evaluated in multiple GHC threads. Some lazy `ST` functions added laziness that did not seem to be useful (e.g., creating lazy pairs that will never be matched unless one of their components is demanded). Stripped that out. Reviewers: ekmett, simonpj, bgamari, simonmar, austin, hvr Subscribers: rwbarton, thomie Differential Revision: https://phabricator.haskell.org/D3038 GHC Trac Issues: #11760
Diffstat (limited to 'includes')
0 files changed, 0 insertions, 0 deletions