summaryrefslogtreecommitdiff
path: root/src/Flag.hs
diff options
context:
space:
mode:
authorGravatar Benjamin Barenblat <bbaren@mit.edu>2015-05-27 22:16:42 -0400
committerGravatar Benjamin Barenblat <bbaren@mit.edu>2015-05-27 22:16:42 -0400
commit3b18966e69777c1c1f647899435df9fa1103918d (patch)
tree79646321ca10c59784c244b978f6f83d61e249bb /src/Flag.hs
parentd95da762bdf5dacf01a2778e3f3ded2b4e464a49 (diff)
Make producers write to an IORef instead of an MSampleVar
Since neither reads nor writes to these variables should block, and since all races are benign, MSampleVar actually has incorrect semantics. A simple IORef is the correct data structure to use.
Diffstat (limited to 'src/Flag.hs')
0 files changed, 0 insertions, 0 deletions