summaryrefslogtreecommitdiff
path: root/compiler/parser/Lexer.x
diff options
context:
space:
mode:
authorDouglas Wilson <douglas.wilson@gmail.com>2018-01-21 12:08:19 -0500
committerBen Gamari <ben@smart-cactus.org>2018-01-21 12:08:20 -0500
commit180ca65ff6d1b4f3f4cdadc569fd4de107be14db (patch)
tree4bb39d6e1123897d0988674a25788c8d3bcab691 /compiler/parser/Lexer.x
parent5edb18a962cbfee0ff869b1a77ebf2cd79dd8ef5 (diff)
downloadhaskell-180ca65ff6d1b4f3f4cdadc569fd4de107be14db.tar.gz
[rts] Adjust whitehole_spin
Rename to whitehole_gc_spin, in preparation for adding stats for the whitehole busy-loop in SMPClosureOps. Make whitehole_gc_spin volatile, and move it to be defined and statically initialised in GC.c. This saves some #ifs, and I'm pretty sure it should be volatile. Test Plan: ./validate Reviewers: bgamari, erikd, simonmar Reviewed By: bgamari Subscribers: rwbarton, thomie, carter Differential Revision: https://phabricator.haskell.org/D4300
Diffstat (limited to 'compiler/parser/Lexer.x')
0 files changed, 0 insertions, 0 deletions