diff options
author | 2012-06-26 17:33:34 -0400 | |
---|---|---|
committer | 2012-06-26 19:21:44 -0400 | |
commit | 67c8ef7de25ad6f433db2fa5d5fc764dd515a5b2 (patch) | |
tree | 3666619b0752df6c336fdbac270e09dbd125bcec /Upgrade/V0.hs | |
parent | e0a65247aebb8a821f4f0b717d39a4a35136a2e6 (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 'Upgrade/V0.hs')
0 files changed, 0 insertions, 0 deletions