Extra-1.33: A grab bag of modules.

Extra.Lock

Synopsis

Documentation

awaitLock :: MonadIO m => Int -> Int -> FilePath -> m a -> m (Either Exception a)Source

Like withLock, but instead of giving up immediately, try n times with a wait between each.