summaryrefslogtreecommitdiff
path: root/compiler/cmm/CmmSpillReload.hs
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2009-07-24 14:26:20 +0000
committerSimon Marlow <marlowsd@gmail.com>2009-07-24 14:26:20 +0000
commit2da67673279cf015ccc84270f6fd7935f64261a6 (patch)
treede71a6db993ba5c4e53fcc6cc29864bb9fa911dd /compiler/cmm/CmmSpillReload.hs
parentb62f4e789fa4aea34ce6e857d512905054023417 (diff)
downloadhaskell-2da67673279cf015ccc84270f6fd7935f64261a6.tar.gz
Add atomic_inc()/atomic_dec(), and use them to replace gc_running_mutex
This also fixes a memory leak on Windows with -threaded, because we were calling initMutex(&gc_running_mutex) for each GC, which allocates memory.
Diffstat (limited to 'compiler/cmm/CmmSpillReload.hs')
0 files changed, 0 insertions, 0 deletions