Safe Haskell | None |
---|---|
Language | Haskell2010 |
Plugin.GhcTags.FileLock
Documentation
withFileLock :: FilePath -> LockMode -> IOMode -> (Handle -> IO x) -> IO x Source #
flock
base lock (on posix) or LockFileEx
on Windows.
Indicates a mode in which a file should be locked.
Constructors
SharedLock | |
ExclusiveLock |