Safe Haskell | None |
---|
- data PrefixLock
- fileReader :: Serialize a => FilePath -> String -> Int -> IO (ReaderStream a)
- fileWriter :: Serialize a => FilePath -> String -> Int -> IO (WriterStream a)
- obtainPrefixLock :: FilePath -> IO PrefixLock
- releasePrefixLock :: PrefixLock -> IO ()
Documentation
data PrefixLock Source
fileReader :: Serialize a => FilePath -> String -> Int -> IO (ReaderStream a)Source
fileWriter :: Serialize a => FilePath -> String -> Int -> IO (WriterStream a)Source
releasePrefixLock :: PrefixLock -> IO ()Source
Relinquish the lock by removing it and then verifying the removal.