Extra-1.46.1: A grab bag of modules.
withLock :: MonadIO m => FilePath -> m a -> m aSource
awaitLock :: (Num a, Ord a) => a -> Int -> [Char] -> IO b -> IO bSource
Like withLock, but instead of giving up immediately, try n times
with a wait between each.
awaitLock :: (MonadIO m) => Int -> Int -> FilePath -> m a -> m (Either Exception a)
Produced by Haddock version 2.13.2