{-# LANGUAGE NoImplicitPrelude #-}
module GHC.Internal.IO.Handle.Lock.Common
( FileLockingNotSupported(..)
, LockMode(..)
) where
import GHC.Internal.Exception
import GHC.Internal.Show
data FileLockingNotSupported = FileLockingNotSupported
deriving Int -> FileLockingNotSupported -> ShowS
[FileLockingNotSupported] -> ShowS
FileLockingNotSupported -> String
(Int -> FileLockingNotSupported -> ShowS)
-> (FileLockingNotSupported -> String)
-> ([FileLockingNotSupported] -> ShowS)
-> Show FileLockingNotSupported
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> FileLockingNotSupported -> ShowS
showsPrec :: Int -> FileLockingNotSupported -> ShowS
$cshow :: FileLockingNotSupported -> String
show :: FileLockingNotSupported -> String
$cshowList :: [FileLockingNotSupported] -> ShowS
showList :: [FileLockingNotSupported] -> ShowS
Show
instance Exception FileLockingNotSupported
data LockMode = SharedLock | ExclusiveLock