summaryrefslogtreecommitdiff
path: root/Crypto.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-06-11 15:08:04 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-06-11 15:29:11 -0400
commit7f3934520a8aa877be17e5d9a0d5dbc77b274c5e (patch)
tree3a36ed11fa528bf245a4360b9e6dee9203f9e184 /Crypto.hs
parentf7dbcd58ffb65258d914f1ecd6c0ff8f6bf2d3aa (diff)
avoid using STM while the MVar is held
I thought this might be a lock conflict that explains the deadlock when built with -threaded, but it seems not.. it still locks! It even locks without the committer thread. Indeed, it locks when running "git annex add"! -threaded is exposing some other problem. Still, this seems conceptually cleaner and did not add any inneficiencies. Also added some high-level documentation about the threads used.
Diffstat (limited to 'Crypto.hs')
0 files changed, 0 insertions, 0 deletions