Safe Haskell | None |
---|---|
Language | Haskell98 |
Like Control.Concurrent.MVar.Strict but reduce to HNF, not NF
Documentation
newtype StrictMVar a Source
StrictMVar (MVar a) |
newEmptyMVar :: IO (StrictMVar a) Source
newMVar :: a -> IO (StrictMVar a) Source
takeMVar :: StrictMVar a -> IO a Source
putMVar :: StrictMVar a -> a -> IO () Source
readMVar :: StrictMVar a -> IO a Source
withMVar :: StrictMVar a -> (a -> IO b) -> IO b Source
modifyMVar_ :: StrictMVar a -> (a -> IO a) -> IO () Source
modifyMVar :: StrictMVar a -> (a -> IO (a, b)) -> IO b Source
modifyMVarMasked :: StrictMVar a -> (a -> IO (a, b)) -> IO b Source
mkWeakMVar :: StrictMVar a -> IO () -> IO (Weak (StrictMVar a)) Source