summaryrefslogtreecommitdiff
path: root/Utility/LockPool
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2015-10-08 14:27:37 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2015-10-08 14:29:35 -0400
commitbab88f3596c570346a3d069af9e3c8ed92e473c9 (patch)
tree32384db58de249ef11c524446d1e0bf757c5fa10 /Utility/LockPool
parent5434414bff35367aa62a4aaab0c4731a38dbe76e (diff)
add lockContentShared
Also, rename lockContent to lockContentExclusive inAnnexSafe should perhaps be eliminated, and instead use `lockContentShared inAnnex`. However, I'm waiting on that, as there are only 2 call sites for inAnnexSafe and it's fiddly.
Diffstat (limited to 'Utility/LockPool')
-rw-r--r--Utility/LockPool/Posix.hs1
-rw-r--r--Utility/LockPool/Windows.hs1
2 files changed, 2 insertions, 0 deletions
diff --git a/Utility/LockPool/Posix.hs b/Utility/LockPool/Posix.hs
index 82e0c8e5e..db6b1d3dd 100644
--- a/Utility/LockPool/Posix.hs
+++ b/Utility/LockPool/Posix.hs
@@ -6,6 +6,7 @@
-}
module Utility.LockPool.Posix (
+ P.LockFile,
LockHandle,
lockShared,
lockExclusive,
diff --git a/Utility/LockPool/Windows.hs b/Utility/LockPool/Windows.hs
index 754650c30..a88525a9b 100644
--- a/Utility/LockPool/Windows.hs
+++ b/Utility/LockPool/Windows.hs
@@ -6,6 +6,7 @@
-}
module Utility.LockPool.Windows (
+ P.LockFile,
LockHandle,
lockShared,
lockExclusive,