summaryrefslogtreecommitdiff
path: root/Utility
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2014-01-28 14:17:14 -0400
committerGravatar Joey Hess <joey@kitenet.net>2014-01-28 14:42:03 -0400
commite48f551505b3923d7c17e3b42330060e84129673 (patch)
tree5de335f5cc25b39a5d4ca12fdb6a076e03cf34db /Utility
parent4a923c3ee0e238ccc17881179bec77c6531e3ad4 (diff)
use locking on Windows
This is all the easy cases, where there was already a separate lock file.
Diffstat (limited to 'Utility')
-rw-r--r--Utility/WinLock.hs5
1 files changed, 2 insertions, 3 deletions
diff --git a/Utility/WinLock.hs b/Utility/WinLock.hs
index ebdba2b85..7b7cf7132 100644
--- a/Utility/WinLock.hs
+++ b/Utility/WinLock.hs
@@ -9,11 +9,10 @@ module Utility.WinLock (
lockShared,
lockExclusive,
dropLock,
- waitToLock
+ waitToLock,
+ LockHandle
) where
-import Common
-
import System.Win32.Types
import System.Win32.File
import Control.Concurrent