fix windows build more

This commit is contained in:
Joey Hess 2016-03-05 12:32:06 -04:00
parent 0084e0f053
commit ca18baecdb
Failed to extract signature

View file

@ -34,7 +34,7 @@ lockShared file = tryMakeLockHandle P.lockPool file
- content, a separate LockFile should be used. -}
lockExclusive :: LockFile -> IO (Maybe LockHandle)
lockExclusive file = tryMakeLockHandle P.lockPool file
(\p f -> P.tryTakeLock f LockExclusive)
(\p f -> P.tryTakeLock p f LockExclusive)
(\f -> fmap mk <$> F.lockExclusive f)
{- If the initial lock fails, this is a BUSY wait, and does not