diff options
author | Simon Marlow <marlowsd@gmail.com> | 2009-07-24 14:26:20 +0000 |
---|---|---|
committer | Simon Marlow <marlowsd@gmail.com> | 2009-07-24 14:26:20 +0000 |
commit | 2da67673279cf015ccc84270f6fd7935f64261a6 (patch) | |
tree | de71a6db993ba5c4e53fcc6cc29864bb9fa911dd /compiler/cmm/CmmSpillReload.hs | |
parent | b62f4e789fa4aea34ce6e857d512905054023417 (diff) | |
download | haskell-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