summaryrefslogtreecommitdiff
path: root/utils/ghc-pwd
diff options
context:
space:
mode:
authorEdward Z. Yang <ezyang@mit.edu>2013-07-17 15:49:47 -0700
committerEdward Z. Yang <ezyang@mit.edu>2013-07-17 15:49:47 -0700
commit95e6865ecf06b2bd80fa737e4fa4a24beaae25c5 (patch)
treeffeffc1df6aa92f2b6404e954de520dddb895e35 /utils/ghc-pwd
parent18087a119b47368b15231c43402c81888c75957d (diff)
downloadhaskell-95e6865ecf06b2bd80fa737e4fa4a24beaae25c5.tar.gz
Fix bug in readMVar implementation: keep clean MVars clean.
The readMVar implementation had only partially implemented a micro-optimization which allows us to avoid adding an MVar to the mutable list if the MVar was not changed. However, this was not applied to the release method on the fast path, resulting in dirty MVars which were not added to the mutable list. Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
Diffstat (limited to 'utils/ghc-pwd')
0 files changed, 0 insertions, 0 deletions