fix windows build
This commit is contained in:
parent
aa24e4f9a2
commit
6237bffae5
1 changed files with 1 additions and 1 deletions
|
@ -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 -> P.tryTakeLock f LockExclusive)
|
||||
(\p f -> P.tryTakeLock f LockExclusive)
|
||||
(\f -> fmap mk <$> F.lockExclusive f)
|
||||
|
||||
{- If the initial lock fails, this is a BUSY wait, and does not
|
||||
|
|
Loading…
Add table
Reference in a new issue