Merge branch 'master' into pidlockfinegrained

This commit is contained in:
Joey Hess 2021-12-06 13:00:40 -04:00
commit 774c7dab2f
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
9 changed files with 66 additions and 11 deletions

View file

@ -280,7 +280,7 @@ waitedLock (Seconds timeout) lockfile displaymessage = do
giveup $ "Gave up waiting for pid lock file " ++ fromRawFilePath lockfile
-- | Use when the pid lock has already been taken by another thread of the
-- same process, or perhaps is in the process of being taken.
-- same process.
alreadyLocked :: MonadIO m => PidLockFile -> m LockHandle
alreadyLocked lockfile = liftIO $ do
abslockfile <- absPath lockfile