summaryrefslogtreecommitdiff
path: root/configure.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-06-26 17:33:34 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-06-26 19:21:44 -0400
commit67c8ef7de25ad6f433db2fa5d5fc764dd515a5b2 (patch)
tree3666619b0752df6c336fdbac270e09dbd125bcec /configure.hs
parente0a65247aebb8a821f4f0b717d39a4a35136a2e6 (diff)
use a TMVar
SampleMVar won't work; between getting the current value and changing it, another thread could made a change, which would get lost. TMVar works well; this update situation is handled by atomic transactions.
Diffstat (limited to 'configure.hs')
0 files changed, 0 insertions, 0 deletions