Merge branch 'master' into pidlockfinegrained
This commit is contained in:
commit
774c7dab2f
9 changed files with 66 additions and 11 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue