diff options
author | Edward Z. Yang <ezyang@mit.edu> | 2013-07-17 15:49:47 -0700 |
---|---|---|
committer | Edward Z. Yang <ezyang@mit.edu> | 2013-07-17 15:49:47 -0700 |
commit | 95e6865ecf06b2bd80fa737e4fa4a24beaae25c5 (patch) | |
tree | ffeffc1df6aa92f2b6404e954de520dddb895e35 /utils/ghc-pwd | |
parent | 18087a119b47368b15231c43402c81888c75957d (diff) | |
download | haskell-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